Download presentation
Presentation is loading. Please wait.
Published byOwen Preston Modified over 9 years ago
1
Creating a Drop Down List Boxes – without Submit Button Dave Pai ICS100 – Spring 2007
2
Create a simple form with a drop down box
3
Code for Form includes 2 options, a Form Name and a Select onChange Event: Select Page to go to Go to Content 1 page Go to Content 2 page HTML files that you want to Open upon Selection
4
Need to Add some Javascript to your HTML file (usually in the section) function goToNext() { Temp=frmToPage.ToPage.options(frmToPage.ToPage.selectedIndex).value; window.location = Temp; }
5
So your completed file, in code, looks something like this: Untitled function goToNext() { Temp=frmToPage.ToPage.options(frmToPage.ToPage.selectedIndex).value; window.location = Temp; } Simple Form Select Page to go to Go to Content 1 page Go to Content 2 page Name of Form Select Name Name of Form
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.