|
Posted by ZeldorBlat on 07/25/07 19:23
On Jul 25, 2:31 pm, tomb <t...@technetcenter.com> 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
What does this have to do with PHP? And if you're planning to say
something like, "I'm using PHP to generate the HTML and Javascript"
don't even bother -- that's not the right answer.
Navigation:
[Reply to this message]
|