jQuery.noConflict(); (function(win, $){ $.widget( "custom.SPPropertie", { options: { //solo per valori di default }, _create: function(){ this.options = { 'id': this.element.prop('id'), 'label': $(this.element).attr('ps-label'), 'type': $(this.element).attr('ps-type'), 'buttons': $(this.element).attr('ps-button') ? JSON.parse( $(this.element).attr('ps-button')) : null, 'value': $(this.element).attr('ps-value') ? JSON.parse( $(this.element).attr('ps-value')) : null, 'help': $(this.element).attr('ps-help') ? $(this.element).attr('ps-help') : null, 'tooltip': $(this.element).attr('ps-tooltip') ? $(this.element).attr('ps-tooltip') : null } var table = $( '