aspose file tools*
The moose likes Struts and the fly likes JQuery UI datepicker doesn't work in a struts 2 ajax page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JQuery UI datepicker doesn Watch "JQuery UI datepicker doesn New topic
Author

JQuery UI datepicker doesn't work in a struts 2 ajax page

will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
Dear all,

I'm using JQuery UI datepicker in my jsp page, here's the way I'm using:

It works fine if it's a new page. However, it doesn't work in an ajax page.
Anyone can give me some hints? Thanks.

Here's the info(from the same page) I found from firebug, it seems jquery doesn't do its work in the ajax part of the page.
1. ajax part(doesn't work)

2. static part(works)
 
Don't get me started about those stupid light bulbs.
 
subject: JQuery UI datepicker doesn't work in a struts 2 ajax page
 
Similar Threads
Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker
change event is firing twice
jQuery Validator and select
Calling a new JSP form a Spring Controller using Ajax
jQuery datepicker JSP question