| Issue 317: | Jquery not supporting in Jmesa Page | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi,
i want to add jquery dialog box in my jmesa page. Jmesa works fine without using the jquery in JSP.
but when i use use jquery i get an Script error
Message: Object doesn't support this property or method
(In Jquery Function)
my sample Code goes Here
<div id="terms" style="display:none;">
Hello !
</div>
<script type="text/javascript">
$(function()
{
$("#myJqWindow").dialog({modal:true, show:"blind",
resizable:false, hide:"explode", width:"100"});
});
</script>
<div id="view">
${view}
</div>
May 23, 2011
Project Member
#1
jeff.johnston.mn@gmail.com
May 23, 2011
Hi thanks for the reply I am using struts2Jquery and its working fine when i included <sj:head jqueryui="true" jquerytheme="smoothness"/> in my code as i used both "<sj>" tag and "Script jquery-1.3.min.js" it reported "Object Not Found" <sj:head jqueryui="true" jquerytheme="smoothness"/> <script type="text/javascript" src="./js/jquery-1.3.min.js"></script> then i removed the bellow script and its fine... <script type="text/javascript" src="./js/jquery-1.3.min.js"></script> |