javascript - Why FooTable not callable? -


i working on project trying implement jquery plugin called footable. works calling function .footable() on table being selected jquery. when tried call function got type error: undefined not function.

we using prototypejs in project @ first though problem footable using $.() instead of jquery.(), , was. went in , changed $[.(] jquery hoping fix problem, still unable call .footable().

you should know loading footble.js iframe. i'm not sure if cause problems.

i'm not sure try next. advice appreciated.

thanks in advance

update 1

i have tried entering following code in console

var $j = jquery.noconflict(); $j('<table></table>').footable(); 

in environment loads footable object returned footable classes. in enviornment "typeerror: undefined not function".

make sure load jquery first, , footable , $ alias jquery, should not problem, u can use $() or jquery()

based on question, should use $() or jquery(), not $.() or jquery.()


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -