Focus doent work in firefox pop ups
-
And this one throws a javascript error!:|
-
ok no problem var _txtField=document.getElementById(' +field_id+ '); window.setTimeout("_txtField.focus()",500 ); should work; Devjit Das.
I get javascrpt error : _txtField is undefined
-
No..I dont know whats that.:sigh:
It's a firefox add-on which helps to find out JS and other problems. Download it and install it. Do a google search for Firebug, you will find it.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
It's a firefox add-on which helps to find out JS and other problems. Download it and install it. Do a google search for Firebug, you will find it.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
I downloaded it.But i dont see a way to install it..no msi nothing
-
I downloaded it.But i dont see a way to install it..no msi nothing
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
I am using the dimming div js(got it from code project itself).but my problem is am not able to set focus on the the text box that appears in my pop up.This is my code: function setfocus(field_id) { if (document.getElementById(field_id)!= null){ window.setTimeout( "document.getElementById('" +field_id+ "').focus();",500 ); //alert(field_id); } } after i display my pop up,i call this function.It works perfectly fine in IE.But FF is a problem.:(Please help me!! Infact if you click on any of the controls on the pop up the cursor doesnt appear in Firefox.
Hi, try this function setfocus(field_id) { document.getElementById(field_id).focus(); window.setTimeout("setfocus('"+field_id+"')",500); }
**$**herin Iranimose
-
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
sorry but am not getting how to debug using firebug...do you have any tips?
-
Hi, try this function setfocus(field_id) { document.getElementById(field_id).focus(); window.setTimeout("setfocus('"+field_id+"')",500); }
**$**herin Iranimose
Doesnt work in FF
-
sorry but am not getting how to debug using firebug...do you have any tips?
Check this[^]. If the page contains any errors, firebug will show the icon in red color. click on that icon, and it will show the error.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Check this[^]. If the page contains any errors, firebug will show the icon in red color. click on that icon, and it will show the error.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
Firebug doesnt show any errors.
-
I am using the dimming div js(got it from code project itself).but my problem is am not able to set focus on the the text box that appears in my pop up.This is my code: function setfocus(field_id) { if (document.getElementById(field_id)!= null){ window.setTimeout( "document.getElementById('" +field_id+ "').focus();",500 ); //alert(field_id); } } after i display my pop up,i call this function.It works perfectly fine in IE.But FF is a problem.:(Please help me!! Infact if you click on any of the controls on the pop up the cursor doesnt appear in Firefox.
-
could be this. window.setTimeout(document.getElementById('+field_id+').focus(),500); Devjit Das.
Nope.Already tried that.
-
Doesnt work in FF
its working for me!!
**$**herin Iranimose
-
its working for me!!
**$**herin Iranimose
Is it a javascript pop up?And are you checking on firefox?