![]() |
Jquery : Object doesn't support this property or method
I am trying to using a tree structure on my JSP Page along with Jquery. Tree Structure requires to import few Jquery files. When I run the JSP page, I get the error code "Object doesn't support this property or method".
I tested the code by running the Tree Structure (Dyna Tree) code seperately and it works fine. Then I tried running the Jquery that I have written and it also works fine. The above mentioned error only appears if I integrate both the code. I have writted my custom code and error where exactly it appears. I am also using JEASYUI in my JSP Page. #fm belongs to JEASYUI. Following are JEASY UI. Code:
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">Code:
<script type="text/javascript"> |
thats becuase .form('clear') isnt a jQuery function.=, is it from some plugin perhaps?
also i dont see where you have linked the jQuery library itself. |
$('#fm').form('clear'); is part of jeasyui plugin. Jquery is included. If I remove the tree structure related jquery code, then $('#fm').form('clear'); works fine.
|
| All times are GMT +1. The time now is 09:06 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.