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?
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().