one more point, as to the following html code,

 <form id=form1 action="Craig1.jsp" method=post>
 <button type=submit id=button1 name=button1 value=MyValue>OK</button>
 </form>

you will see nothing in Netscape,
but you still can see the right button "OK" in IE5.0+.
Netscape doesn't recognize the tag <button>.
which may be unique in/from IE.



> Does anyone know why the following code does NOT print out the value of
> button1:
>
> <form id=form1 action="Craig1.jsp" method=post>
> <button type=submit id=button1 name=button1 value=MyValue>OK</button>
> </form>
>
> <%
>      out.println(request.getParameter("button1"));
> %>
>
> But this does work:
> <form id=form1 action="Craig1.jsp" method=post>
> <input type=submit id=button1 name=button1 value=OK>
> </form>
>
> <%
>      out.println(request.getParameter("button1"));
> %>
>
>
>           -craig
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to