<a href> instead of <input submit> button

Indestyeffody

New Member
I originally had a submit button.\[code\]<input class="submit" type="submit" class="input" value="http://stackoverflow.com/questions/2850358/Add" name="command" />\[/code\]but now I would like to use a \[code\]<a href>\[/code\] instead. The issue is, the \[code\]value="http://stackoverflow.com/questions/2850358/Add"\[/code\] is very important.I'm currently making the \[code\]<a href>\[/code\] like this.\[code\]<a href="javascript:document.register.submit();">submit</a>\[/code\]Any suggestions? Issue is, the site is not picking up that this specific \[code\]<a href>\[/code\] was clicked, and therefore won't run my php code.
 
Top