How to use jquery in palm mojo?

穿精又带淫゛_ 提交于 2019-12-06 09:38:56
Pekka supports GoFundMonica

Check out this question, especially the comments.

Edit in response to the comments:

I don't know about Palm development so I can't help you out in detail. Mojo however is based on Prototype. Prototype and JQuery crash because they have identical function names. That's where the noConflict plugin comes in. You can read up on it here and get it here. That's about all I can tell you about it - maybe somebody else can take you through the process step by step.

  1. Import Mojo
  2. Import jQuery
  3. Create a Script block that contains jQuery.noConflict();
  4. Follow with your normal jQuery except using 'jQuery' instead of '$'

E.g., jQuery('div#idOfSomething').hide();

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!