my dog learned polymorphism*
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
Author

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?




Now

alert(textnode1);
alert(textnode1);

would lead to 'undefined'

If I had,



alert(textnode1);
alert(textnode1);

would give [Object HTMLSpanElement]..

what could be the error??


Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9313
    
  17

Look here...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts-2 datetimepicker issue...