Could you please help me to resolve the issue with firefox & safari browser. The issue is javascript focus() function on document object is not working in FF n safa.., but its working fine in IE.
"Rakesh MR", My request that you change your display name to adhere to JavaRanch standards was not a suggestion. Valid display names are mandatory for participation on the Ranch. Please change your display name as instructed prior to your next post.
Be aware that accounts with invalid display names are disabled.
My center content of the page is divided into two sections(both are scollable). I need to focus the right section element(div) when I select an element(div) from left side. Now focus is not coming to the corresponding sections in firefox but its fine in IE.
Originally posted by Rakesh Kurup: pls provide/suggest solution for this prob.
Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.
Originally posted by Rakesh Kurup: I am using document.getElementById(id).focus()
Again, if the element is a <div>, you are not going be able to get this to work in a cross-browser fashion as not all browsers allow focus to <div> elements.