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
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:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Struts
datetimepicker in struts2
Pradeep Adibatla
Ranch Hand
Posts: 336
posted 15 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: 9708
43
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Look
here
...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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...