Are you using JQuery? This looks like plain old JavaScript. I don't think you need to be using Onclick. That's the whole point of using JQuery.
Check the following tutorial: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery "We don't need to write an onclick for every single element. We have a clean separation of structure (HTML) and behavior (JS), just as we separate structure and presentation by using CSS." On Feb 10, 5:44 pm, Josoroma <[EMAIL PROTECTED]> wrote: > I have a form without a submit button, i was making the submit with > the following code: > > <div class="buttons"> > <a href="javascript:{}" class="positive" id="button_confirmAction" > style="display: block;" title="Register"" > onClick="confirmAction('confirmAction'); return false;" ><img src="/ > hoyque/img/icons/tick.png" alt=""/>Register</a> > <div> > > How do i enable the call to validate before to realize the submit with > my href onclick "button" above? > > Thanks in advance.