Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery( 'document' ).ready( function( $ ) {
- $(document).ready( function() {
- console.log('test');
- // Filling questions one by one with jquery and css
- $('.siguiente').click(function () {
- console.log('.siguiente clicked');
- var id = $(this).attr('id');
- id = id.remplace('_btn','');
- console.log('id: ' + id );
- var temp_remplace = $('#' + id + '_in').val();
- console.log('temp_remplace: ' + temp_remplace );
- $('#' + id).html( temp_remplace );
- var card = $(this).attr("data-card");
- $('#card_' + card).hide();
- $('#card_' + card+1).show();
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement