| Author |
getting updated value of input text in next tag?
|
Dhruva Mistry
Ranch Hand
Joined: Nov 21, 2008
Posts: 66
|
|
Hello All,
i need to get updated value in a form written in jsp.
i have input tag of text type that will get value from javascript of calendar(ready made script from internet) in term of "dd-MM-yyyy hh:mm:ss" and at very next line i need to check whether the value of date selected by user is falling on weekend?
but, for this, in need updated value from input tag of type text.
i am using javascript and default value of my text is blank.
is is posible to get updated value dynamically on jsp page?
please, help me out.
Thank you all a lot in advance!
|
Dhruva
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 48799
|
|
|
What does this have to do with JSP? I sounds like a JavaScript question. Is there a JSP dimension to this question that is not coming across?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Pavan Kumar Reddy
Greenhorn
Joined: Dec 11, 2009
Posts: 12
|
|
to get dynamic value from jsp page,contacting server without refreshing your page,we have to use asynchronous technoloy
Ex:AJAX
|
 |
Preet Dholabhai
Greenhorn
Joined: Jan 24, 2010
Posts: 18
|
|
let me understand your question please.
what i understand is as follows:
you have a ready made calendar code of javascript.
you select say 2 - 2 - 2010 from calendar and it should be updated in the text box. right?
if this is the question then, according to my understanding you will have to convert the date format into text and send it to the server in the url string and may be retrieve it using getParameter().
i may be wrong but this is what comes to my mind.
thank you.
|
Thanks & regards,
Preet
|
 |
Dhruva Mistry
Ranch Hand
Joined: Nov 21, 2008
Posts: 66
|
|
Thank you All a lot...
actually i solved that issue by passing values to next page and got value and parted out and then went to DB process
Thank a lot for your valuable help
|
 |
 |
|
|
subject: getting updated value of input text in next tag?
|
|
|