Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts-2 datetimepicker issue...

 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • 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: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look here...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic