M
Martin Nadoll
Hello,
i have a little problem and no idea :-(
i have a form with two buttons to submit it.
One button (must be left) goes to a detail-page and the second button (must
be right) goes to a basket-page.
Also there is a input-field.
My problem:
onLoad i give focus to the input-field.
But when user submits the form with return, the first button ("show
details") is executed, and you see the detail-page.
But i want to give focus to the ("into basket") button, but it comes after
the detail-button in source.
I cant change the buttons because it's not allowed by the designer :-(
Also on load of that page, the border of the first submit button is more
thick (i think 2 px) than the second (maybe 1px).
How can i submit to basket, with the return-key and give them the same look?
Thanks for any help,
Martin Nadoll
i have a little problem and no idea :-(
i have a form with two buttons to submit it.
One button (must be left) goes to a detail-page and the second button (must
be right) goes to a basket-page.
Also there is a input-field.
My problem:
onLoad i give focus to the input-field.
But when user submits the form with return, the first button ("show
details") is executed, and you see the detail-page.
But i want to give focus to the ("into basket") button, but it comes after
the detail-button in source.
I cant change the buttons because it's not allowed by the designer :-(
Also on load of that page, the border of the first submit button is more
thick (i think 2 px) than the second (maybe 1px).
How can i submit to basket, with the return-key and give them the same look?
Thanks for any help,
Martin Nadoll