开发者

RoR live search

开发者 https://www.devze.com 2023-01-10 04:21 出处:网络
iam doing live search function, for this iam using observer_field, but on pageload i get error jquery(\'#name\').delayedObs开发者_如何学Pythonerver is not a function

iam doing live search function,

for this iam using observer_field, but on pageload i get error

jquery('#name').delayedObs开发者_如何学Pythonerver is not a function

I dont know what is the problem..


js libraries weren't loading in the proper order. If you are having this problem it would be a good strategy to take out all of your other libraries an simply load these to see if it fixes the problem. Once you have it working, add them back in until you have it working in the proper order.

script src = "/javascripts/jquery.js" type = "text/javascript">
script src = "/javascripts/jquery-ui.js" type = "text/javascript">
script src = "/javascripts/jrails.js" type = "text/javascript">
0

精彩评论

暂无评论...
验证码 换一张
取 消