![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a couple of working jump menus, made with Dreamweaver MX's Insert, Form, Jump menu command Later, going to the W3C's HTML validator and checking the page, I'm told required attribute "action" not specified and the code generated by DW is form name="form1" id="form1" select name="rtmenu" onchange="MM_jumpMenu('parent',this,0)"> <option value="rt/index.html" ................. Question -- is there a way to make these jump menus valid XHTML? Should a action="post" be put in? Or should you do away with jump menus when doing XHTML pages/ |
#3
| |||
| |||
|
|
Bruce Kratofil wrote: I have a couple of working jump menus, made with Dreamweaver MX's Insert, Form, Jump menu command Later, going to the W3C's HTML validator and checking the page, I'm told required attribute "action" not specified and the code generated by DW is form name="form1" id="form1" select name="rtmenu" onchange="MM_jumpMenu('parent',this,0)"> <option value="rt/index.html" ................. Question -- is there a way to make these jump menus valid XHTML? Should a action="post" be put in? Or should you do away with jump menus when doing XHTML pages/ Add a method and action and you should be OK - the action will be ignored when using the MM_jumpMenu, granted the user does not have JS disabled: form action="yourPage.htm" name="form1" id="form1" method="post" ...... /form |
#4
| |||
| |||
|
|
form action="yourPage.htm" name="form1" id="form1" method="post" |
#5
| |||
| |||
|
|
Kindler Chase wrote: form action="yourPage.htm" name="form1" id="form1" method="post" The problem with the above is that it will generate an error for the non-JavaScript enabled browser because you cannot use the POST method to post to a .html page. If you change it to GET, it still won't work, but at least you won't get an ugly error page. Gary |
#6
| |||
| |||
|
|
I have a couple of working jump menus, made with Dreamweaver MX's Insert, Form, Jump menu command Later, going to the W3C's HTML validator and checking the page, I'm told required attribute "action" not specified and the code generated by DW is form name="form1" id="form1" select name="rtmenu" onchange="MM_jumpMenu('parent',this,0)" option value="rt/index.html" ................. Question -- is there a way to make these jump menus valid XHTML? Should a action="post" be put in? Or should you do away with jump menus when doing XHTML pages/ |
#7
| |||
| |||
|
|
Is this just for non-JS enabled browsers? When I do this in IE6 on win2k, no errors are generated. Or are there specific browsers this doesn't work with? |
![]() |
| Thread Tools | |
| Display Modes | |
| |