Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts-2 datetimepicker issue...

 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look here...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic