Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts-2 datetimepicker issue...  RSS feed

 
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: 9608
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look here...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!