|
Shweta2281 wrote: It works perfectly fine in IE.But FF is a problem
Have you checked with firebug ?
Shweta2281 wrote: window.setTimeout( "document.getElementById('" +field_id+ "').focus();",500 );
This line looks incorrect to me. Copy the line in bold to other function and give that functions reference here.
function setfocus(field_id)
{
if (document.getElementById(field_id)!= null)
{
window.setTimeout("SetFocus1()",500 );
}
}
function SetFocus1(field_id)
{
document.getElementById(field_id).focus();
}
|
|
|
|
|
No luck guys!!!
|
|
|
|
|
|
No..I dont know whats that.
|
|
|
|
|
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.
|
|
|
|
|
I downloaded it.But i dont see a way to install it..no msi nothing
|
|
|
|
|
|
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.
|
|
|
|
|
Firebug doesnt show any errors.
|
|
|
|
|
try to use this.
window.setTimeout(document.getElementById(' +field_id+ ').focus();,500 );
Devjit Das.
|
|
|
|
|
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
|
|
|
|
|
Hi,
try this
function setfocus(field_id)
{
document.getElementById(field_id).focus();
window.setTimeout("setfocus('"+field_id+"')",500);
}
|
|
|
|
|
|
|
Is it a javascript pop up?And are you checking on firefox?
|
|
|
|
|
could be this.
window.setTimeout(document.getElementById('+field_id+').focus(),500);
Devjit Das.
|
|
|
|
|
|
Hi,
I have 10 browser select in a page, uploading all the 10 are optional, if i upload 10 images and insert than its working,
Problem was if i upload <10 images than its showing Runtime error, can u pls help me
krishna
|
|
|
|
|
What is the error you are getting ?
|
|
|
|
|
krishnavaradharajan wrote: Problem was if i upload <10 images than its showing Runtime error
Turn off custom errors and get the exact error message that you encounter.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
<configuration>
<system.web>
<customerrors mode="Off">
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.
<configuration>
<system.web>
<customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm">
krishna
|
|
|
|
|
Locate the customerrors and set it to OFF. That way it would precisely show you what is the error all about?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|