File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts-2 datetimepicker issue... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-2 datetimepicker issue..." Watch "Struts-2 datetimepicker issue..." New topic

Struts-2 datetimepicker issue...

Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
I have 2 date pickers viz...

The things are in a form submitted by an OK button...

Now on the click of OK i call a javascript ... I am unable to get the selected data in the form in my Javascript variable...How to get it?



would lead to 'undefined'

If I had,


would give [Object HTMLSpanElement]..

what could be the error??

Ankit Garg

Joined: Aug 03, 2008
Posts: 9465

Look here...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: Struts-2 datetimepicker issue...
It's not a secret anymore!