var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Which Submit Button To Action When Return Key Pressed
I have a PHP form with multiple submit buttons eg:
<input type="submit" name="Action" value="Add" >
<input type="submit" name="Action" value="Delete" >
<input type="submit" name="Action" value="Update" >
My problem is when user hits the return key in Firefox the php script assumes the first button was submitted and in IE the scripts does not recognize any submit button if the return key is pressed.
Any suggestion to solve this problem both in firefox an IE?
If no button is pressed then default it to Add.
In this way you get the same behaviour on both systems.
Personally I'd think about have a cancel button in there as well.