I have case where I want to submit a form from a link. I thought I could use the onclick event as seen below to submit the form since it will be within the form.
<a href=" onclick="event.cancelBubble=true;this.form.submit();">
Using FireFox JavaScript console I get an error that reads:t
his.form has no properties
Any ideas what I need to do to get this to work? Thanks in advance!
<a href=" onclick="event.cancelBubble=true;this.form.submit();">
Using FireFox JavaScript console I get an error that reads:t
his.form has no properties
Any ideas what I need to do to get this to work? Thanks in advance!