开发者

RoR live search

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜