GataQuadrada

Results 11 comments of GataQuadrada

By using a DB or Session: ``` $('.dd').nestable({ /* Config */ }).on('change', function(){ console.log($('.dd').nestable('serialize')); /* AJAX */ }); ``` Just adding here for people who might come through Google (as...

Either you don't have nestedSortable or jQuery (probably this one).

Also, this plugin is abandoned. You should use [this version](https://github.com/ilikenwf/nestedSortable).

Setting `prettier.resolveGlobalModules` to `true` and installing it globally (`npm i -g prettier @prettier/plugin-php`) fixed all my issues.

I managed to interact with the loyalty system by toggling the option "Ask for user input" on my rewards and then using the unique `custom_reward_id` every rewarded message has. When...

(I know, an year after you asked) I added "dataText = $(li).data('text');" after line 37; And added " || dataText.toLowerCase().indexOf(filter) >= 0" on (now) line 40; I kinda created my...

Try this: ```javascript var picked = false; $().on( 'pick.datepicker' , function(){ picked = true; }); $( '#my_button' ).click( function(){ if( picked ) { console.log( $().datepicker( 'getDate' ) ); } else...

Why are you using native JS while inside jQuery like that? Just go for: ```javascript $( '.productcontainer' ).append( $( '#row-template' ).html() ); ``` And then: ```javascript $( '.date' ).datepicker({ format:...

Try this: ```javascript $().on( 'pick.datepicker' , function( e ){ e.preventDefault(); let d = new Date( e.date ); let v = ( d.getFullYear() + '-' + ( ( d.getMonth() + 1...