xsl-list
[Top] [All Lists]

Re: [xsl] getting combo value,not textbox value

2009-03-02 04:28:05
himanshu padmanabhi wrote:
Thank you for replying.

I Moved the script element inside of the body.Still submit is not
working and I am not getting any error from browser/firebug.So I am
really confused now what I am missing here.the same code submits the
form If I execute it as HTML.

Using the HTML below, both parameters are submitted.

In future, please only use this XSL list to ask questions about XSL, not
HTML.
If you want to know how to use XSL to generate some specific HTML, we
will be very happy to help you work through your problem, but this is
not the right list for questions about HTML, Javascript, or Perl.


==== HTML follows =======

<html>
<head>
</head>
<body>
<form name="form1" method="POST" action="one.cgi">
<table border="1">
<tr>
     <td> Parameter </td>
     <td> Description </td>
     <td> Value </td>
</tr>

<tr>
     <td>machine name</td>
     <td>specify machine name</td>
     <td><select name="machine_name"><option
value="name">Name</option></select></td>
</tr>

<tr>
     <td>limit</td>
      <td>specify limit which should not exceed</td>
      <td><input type="text" name="limit" value="Enter limit here"></td>
</tr>

</table>

</form>
<script type="text/javascript">
    document.form1.submit();
</script>

</body></html>


-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
ronan(_dot_)klyne(_at_)groupbc(_dot_)com
www.groupbc.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--