Click() event not working in firefox
-
hi all, I am using document.getElementById("controlname").click() in javascript.It is working fine in IE but not working in firefox.Please tell how it can be corrected.
-
hi all, I am using document.getElementById("controlname").click() in javascript.It is working fine in IE but not working in firefox.Please tell how it can be corrected.
-
hi all, I am using document.getElementById("controlname").click() in javascript.It is working fine in IE but not working in firefox.Please tell how it can be corrected.
document.getElementById("<%=ContolName.ClientID%>");
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost
-
hi all, I am using document.getElementById("controlname").click() in javascript.It is working fine in IE but not working in firefox.Please tell how it can be corrected.
Use a library, like JQuery, that has cross browser support rather than trying to deal with multiple browser issues.
I know the language. I've read a book. - _Madmatt
-
What kind of control is it? Are you sure that the getElementById call is returning an object?