Welcome to WebmasterWorld Guest from 50.16.31.61

Forum Moderators: incrediBILL

jump menus and form actions

   
11:50 pm on Oct 30, 2003 (gmt 0)

10+ Year Member



hi

i have a jump menu on my site and am trying to validate the site. there was no action put in by default and it would seem that there needs to be one.

the code is

<form>
<div align="right">
<select name="mission_menu1" ondblclick="P7_JumpMenu(this,0)">
<option value="our_mission.htm~window:Main" selected>please select a page to view...</option>
<option value="our_objectives.htm~window:Main">our objectives</option>
<option value="our_not_for_profit_schools.htm~window:Main">our not for profit schools</option>
<option value="equipping_schools.htm~window:Main">equipping schools</option>
<option value="our_constitution.htm~window:Main">our constitution</option>
<option value="our_code_of_ethics.htm~window:Main">our code of ethics</option>
</select>
<input type="button" name="Button1" value="Go" onClick="P7_JumpMenuGo('mission_menu1',0)">
</div>
</form>

does anybody have any ideas what i should put?

thanks,

jim

12:33 am on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Actually, you don't need an actual action for it to work... But, in order for the page to validate, you'd need to insert an empty attribute.
12:34 am on Oct 31, 2003 (gmt 0)

10+ Year Member



hi,

thanks. sorry i'm very new to this. how would i do that?

cheers

jim

12:35 am on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Just like this:

<form action="">

12:50 am on Oct 31, 2003 (gmt 0)

10+ Year Member



lovely... thank you very much. nice and simple - just as i like it!

jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month