Hi all you developers out there ! :-)
I first want to express how greatfull i am that some people out there is so
good at this jQuery, Javascript, Ajax, and stuff like that... But I can't,
so lets get over that point part.
I am missing the opportunity to submit a form with an <a>
I am styling the buttons I use on my website. So because of that, I want
something like onclick="javascript:TheFormNameOrIDorClassOrThisForm.submit();".
Is this possible? And if it is, would some of you guys help me? :-)
I do not understand correctly your question, but if you look how to code a click event of <a> the following could help you: let's say you have <a class="myClass" id="myID"> you get a jquery object with the following $('a.myClass') or $('#myID') then you can bind click event $('#myID').click(function(e){ // Prevent the default behavior of <a> clicking e.preventDefault() // Now add your event handling for example yourForm.submit(); // finally return false return false; });