Posted by tomb on 07/25/07 20:32
My thanks to Iván and Webrickco for steering me in the right direction.
They were both very helpful.
Tom
tomb wrote:
> I am generating a form dynamically through AJAX. The form and the
> data come in very nicely, but my reset button doesn't do anything.
> There are 3 other buttons that call javascript functions - they work
> fine. Just the reset button seems to be dead. The form is inserted
> into a Div using AJAX. Here are my form details:
>
> <form id="clientform" name="clientform">
> <table>
> <tr>
> <td>Name:</td>
> <td>
> <input id="txtCompany" type="text" value="Company Name" size="65"
> name="txtCompany"/>
> </td>
> </tr>
>
> ... some more labels and input text boxes.....
>
> <input id="add" type="button" onclick="addThisClient(1,4);"
> value="Add" name="add"/>
> <input id="update" type="button" onclick="updateThisClient(1,4);"
> value="Update" name="update"/>
> <input id="delete" type="button" onclick="deleteThisClient(1,4);"
> value="Delete" name="delete"/>
> <input type="reset" value="Clear"/>
> </table>
> </form>
>
> Can you see any reason why the reset button would be dead?
>
> Tom
[Back to original message]
|