>I want to have a submit button on a form, and when submitted, I want to be able to retrieve data from the called page as to whether it was called from the button press or via another method (eg. if 'enter' was pressed). > >Ideally I would like to use a button created using , as the name/value pair are posted to the next page. The problem with the resulting button is that I cannot see any way to change font, size or color of button text, so I am limited to a very boring-looking button. Is there any way around this? I tried changing the font attributes of the table cell containing the button, but the button still looked the same. > >To solve the appearance problems I could create the button using tags, but the problem this is that the posted value is always the same, whether the button was pressed or not, so I cannot tell if the button was pressed to access the next page. Also, the posted value contains all sorts of useless information regarding font size, type, etc. - I only want the value="..." text. > >Any help would be appreciated. I would prefer a plain HTML solution if possible, but failing that, a Javascript solution would do. > >TIA, >Alan
If we exchange an apple, we both get an apple. But if we exchange an idea, we both get 2 ideas, cool...
Gérald Santerre Independant programmer - internet or intranet stuff - always looking for contracts big or small :) http://www.siteintranet.qc.ca