javascript - primefaces jquery ui tabs -


context: trying use jquery ui plugins (tabs , dialog) in primefaces application directly javascript (due requirement).

problem: getting 'length undefined' , 'undefined not function' errors on calls. more specifically, $("#id").tabs() throwing error.

what did: search in stackoverflow; checked $.fn.* , $.ui.* in console; surprisingly lot of ui plugins available (datepicker, droppable, selectable) dialog , tabs seem missing. $.ui.version 1.11.3. tried using outputscript , directly <script> tags include jquery ui, none seemed include these plugins; tried noconflict.

additional info: worked @ point intermittently.. not sure caused work , preventing working now. spent lot of time troubleshooting this.

advance time , shall drop additional info if required.

primefaces contains customized (subset) of jquery-ui components. others have added you. , make sure use them compatible version. compatible jquery version primefaces uses.

including them should done include separate jquery-ui components or jquery-ui compatible ones loading them via javascript tag


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -