G
Guest
On my page, I want to set the focus to the top of the page (where I have a
message in a label) after a button is clicked. How can I use javascript on
the server side to set the focus either to a label OR a hidden input field?
I do not have any textboxes on the page. The reason I need this is because I
have a datagrid with potentially a LOT of records in it. The user can change
these records, and click a Save button at the bottom of my page. After
saving, I want the focus to move to the top of my page where the confirmation
message will be displayed.
Can you set focus to a label or hidden field possibly? IF not, are there any
other ideas?
message in a label) after a button is clicked. How can I use javascript on
the server side to set the focus either to a label OR a hidden input field?
I do not have any textboxes on the page. The reason I need this is because I
have a datagrid with potentially a LOT of records in it. The user can change
these records, and click a Save button at the bottom of my page. After
saving, I want the focus to move to the top of my page where the confirmation
message will be displayed.
Can you set focus to a label or hidden field possibly? IF not, are there any
other ideas?