Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
will zhang
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic