homepage Welcome to WebmasterWorld Guest from 54.211.100.183
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
jump menus and form actions
billybonds

10+ Year Member



 
Msg#: 6512 posted 11:50 pm on Oct 30, 2003 (gmt 0)

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

 

DrDoc

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



 
Msg#: 6512 posted 12:33 am on Oct 31, 2003 (gmt 0)

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.

billybonds

10+ Year Member



 
Msg#: 6512 posted 12:34 am on Oct 31, 2003 (gmt 0)

hi,

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

cheers

jim

DrDoc

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



 
Msg#: 6512 posted 12:35 am on Oct 31, 2003 (gmt 0)

Just like this:

<form action="">

billybonds

10+ Year Member



 
Msg#: 6512 posted 12:50 am on Oct 31, 2003 (gmt 0)

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

jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved