mmosel Posted March 7, 2006 Share Posted March 7, 2006 Hi all,I have a question for the pros. In my cart, each item has a checkbox for removal and an input box for changing the quantity. I have several buttons that are all submit buttons handled by JS. All the buttons work, that's not a problem. However, if a user changes the qty amount and hits return or enter, the remove button is used which is not what I want! I would like the update button to be used. I think it's defaulting to the remove button because it's first. Is there an easy way to change the focus of the qty input field so that an enter will automatically update and not attempt to remove? Thanks for any tips you may have. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.