• 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
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

getting updated value of input text in next tag?

 
Ranch Hand
Posts: 67
Mac Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!

 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
to get dynamic value from jsp page,contacting server without refreshing your page,we have to use asynchronous technoloy
Ex:AJAX
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Dhruva Mistry
Ranch Hand
Posts: 67
Mac Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic