D
David Lozzi
Howdy,
I'm liking the new Page.Form.DefaultButton to control the Enter Key action
of the form, but I need to specify it per text box instead of the entire
form. For example, I have a master page with a user control at the top which
contains a text box and a search button. It has a user control on the left
that has the email field and submit button then there is the content body in
the middle that contains the product information and adding the product to
the cart. If I enter a value into the search text box at the top and press
enter, the product is added to the cart. how do I resolve this? am I stuck
using javascript? if so, what's the code for that.
thanks,
I'm liking the new Page.Form.DefaultButton to control the Enter Key action
of the form, but I need to specify it per text box instead of the entire
form. For example, I have a master page with a user control at the top which
contains a text box and a search button. It has a user control on the left
that has the email field and submit button then there is the content body in
the middle that contains the product information and adding the product to
the cart. If I enter a value into the search text box at the top and press
enter, the product is added to the cart. how do I resolve this? am I stuck
using javascript? if so, what's the code for that.
thanks,