homena / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Jquery not supporting in Jmesa Page #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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>

Original issue reported on code.google.com by vinoop....@gmail.com on 23 May 2011 at 4:55

GoogleCodeExporter commented 9 years ago
Have you tried using Firebug to dig deeper into the problem? JMesa has JQuery 
as a dependency so it should work really well with whatever you are doing.

Original comment by jeff.johnston.mn@gmail.com on 24 May 2011 at 5:08

GoogleCodeExporter commented 9 years ago
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> 

Original comment by vinoop....@gmail.com on 24 May 2011 at 5:19