I need to get the element name(i.e. text area name where the cursor positioned), and pass the name to the server then when it is back I need to pass thru the url for anchoring to the position of the element.
every text/textarea have its own anchor names defined in a form i need to know where the cursor was positioned before form submit or perform any action on the form or when form refresh i need to refer to the last edited element.
Note: Iam using jsp/struts tags in the form
Please provide your suggestion on this as how i can achieve this. am in urgent.
thanks in advance.