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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh page using a select box 1

Status
Not open for further replies.

jwdcfdeveloper

Programmer
Mar 20, 2001
170
0
0
US
How do I refresh a page and send a form variable using a select drop down box? I have a calendar application that uses a drop down box (Jan - Dec of current year) and on selecting a new month, the calendar should change. The old version of the calendar used links to update the calendar. Any help would be appreciated.

Thanks,

JW
 
if old version use link to call update function (<a href="JavaScript:nameOfUpdateFunction();">Change</a>), then u can do it with "onchange" event in dropdown box :


<select onchange="JavaScript:nameOfUpdateFunction();">...</select>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top