Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selecting value in drop down box when page is loading

Status
Not open for further replies.

daka94

Programmer
Apr 27, 2001
33
US
Hai,
i want to select value for drop down box dynamically when it is loading the page.for example ,there are three drop down menus for date ,month and year.when page is loading it has to take system date,month and year as default.
please help me.
thank u
 
i did not get u.can u please give details.
i am using this in jsp.it has to select value when page is loading from drop down options.


 
ok
if this is a 'normal' html page, it is STATIC and then you can't "select when page is loading" - right ?
so you need to use a language, either client side (as javascript is) or server side (as java, coldfusion, php, cgi are) to GENERATE the html page so you can "select when page is loading" - right ?
and as the solution is different depending on which language you chose to use, i asked which language you were using to produce that page
as this post is in the javascript forum i could have supposed you were using javascript - now you say you're using jsp (that is java - java is NOT javascript and there are HUGE differences) - so please could you tell us which one you're using ?
if it is javascript i'll be glad to answer here
if it is jsp i think your question belongs to the "sun java server pages JSP" forum
 
hai
i am using java script for client side and jsp for server side.i appriciate you if u send answer.
tha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top