If you have firebug installed in firefox you can go to the scripts panel and check to make sure the script was loaded. My guess is this is a classic path issue and jquery is not being loading because the path is incorrect when coming from the dynamic jsp.
Best, Thatcher On Tue, Apr 21, 2009 at 10:29 AM, mwetmore <mwetm...@gmail.com> wrote: > > Hello, we are currently using the JQuery accordion to build some > dashboards. We mocked up the pages with just plain html and we are > starting to convert them to jsp's using the spring framework and > tiles. We are deploying it to jboss, and when we go to the page we > receive the following javascript issue. > > Here is the script code: > <script type="text/javascript"> > $(function(){ > > // Accordion > $("#accordion").accordion({ header: "h3", > active: false }); > > // Tabs > $('#tabs').tabs(); > > > // Dialog > $('#dialog').dialog({ > autoOpen: false, > width: 600, > buttons: { > "Ok": function() { > > $(this).dialog("close"); > }, > "Cancel": function() { > > $(this).dialog("close"); > } > } > }); > > // Dialog Link > $('#dialog_link').click(function(){ > $('#dialog').dialog('open'); > return false; > }); > > > }); > </script> > > We are getting the error: $ is undefined on line 2 > We also tried switching the $ to jQuery for the no conflict issue just > in case but it didn't work. > This exact same code works in html, but when deployed in JBoss it > doesn't. > > Any suggestions for us? Thanks! > > > > -- Christopher Thatcher --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---