Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Microservices Testing (Live Project)
this week in the
Spring
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
Jeanne Boyarsky
Paul Clapham
Sheriffs:
Liutauras Vilda
Henry Wong
Devaka Cooray
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Al Hobbs
Carey Brown
Bartenders:
Piet Souris
Mikalai Zaikin
Himai Minh
Forum:
Struts
datetimepicker in struts2
Pradeep Adibatla
Ranch Hand
Posts: 336
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have a tag :
----------------
<td><s:datetimepicker startDate="" id="fromDate" name="fromDate" label="FromDate" />
and in Javascript, I am taking this id as:
row=document.createElement("TR") '; cell1 = document.createElement("TD"); textnode1=document.getElementById('fromDate'); cell1.innerHTML=textnode1.value;
On submit,it's setting in the table cell as 'undefined' but the selected date is passed to the action-class variable .what should be done?
Ankit Garg
Sheriff
Posts: 9695
43
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Look
here
...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Edit & Delete Table
Dynamic rows validation from javascript
adding id to a dynamic row element
s:property id+Javascript
Struts-2 datetimepicker issue...
More...