The reason I want to tdo this I have an application and using css I can make my anchors look consistent throughout my site including hover and I am happy with this,
I have tried applying the css to submit buttons and I am failing miserably.
I would to like to use submit buttons because I win the POST array and can use the data entered from that array
So what I'd like to do is hide the submit button and have an anchor that launches code to press the hidden submit and flow naturally to the form acttion.
I found this by googling which at the time appeared to do everything I wanted to do
// Enter pressed?
The example I found tested keypress for e = 10 or e = 13, I put the "$('input[type=[submit]').hide();" in my js script and it hid all of my submit buttons !!! So what it said it would do it did !!
If I can get get my idea working I may well want to hide all submit buttons but not just yet
tried putting class and id into the anchor and submit but couldn't figure out how to do it
I put 'class = "refsub" ' in the form tag and still not quite there
I am using codeigniter and I have multiple views that assemble into the rendered web page the attached umchedit.php contains the bit where I would like to perform this functunality
If you got this far and didn't fall asleep - thank you if you have any ideas I would be happy to hear from you
Thanking you all verymuch