<script src='http://code.jquery.com/jquery-latest.js'></script> <div class="form_input form_zapis"></div> <div class="form_zapis form_input"></div> <script> $('.form_input').removeClass('form_zapis'); </script>