HTML code
- Started
- Last post
- 3 Responses
- ********
can someone help me with this code for a html form? What would go in the ahref link?
<a href="#" class="link" onclick="document.getElementById('ContactForm').submit()">Submit</a><a href="#" class="link" onclick="document.getElementById('ContactForm').reset()">Clear</a>
- byDefault000
i wouldn't make it a link - i suppose you are doing that when rolled over it shows the hand cursor. i would suggest doing that in CSS if that is what you are after:
cursor:pointer;
- uan0
nothing?...you are telling the submit-link to say to the ContactForm to call it's function submit()...in that function you have to put your doSomethingWithData link
- ********0
i am editing a template so I thought that looked weird with links in the coding for the form.
so you think i should just build a css form?