Javascript error

  • Thread starter Thread starter sangeethavani12
  • Start date Start date
S

sangeethavani12

Hi,

Iam using a Javascript calendar( it is an .inc file). I call this
function onclick of an img. This works fine in my system, across lan
(intranet). But when i run this across internet , onclicking the img -
a javascript error (OBJECT DOESN'T SUPPORT THIS PROPERTY OR METHOD) is
thrown. Why this happens? Does it have anything to do with internet
properties (Note: all the properties are enabled to allow script in IE
options). Is it because of firewall? Pls help out!
 
I may be mistaken, but I think <[email protected]> said something
like the following in message
Hi,

Iam using a Javascript calendar( it is an .inc file). I call this
function onclick of an img. This works fine in my system, across lan
(intranet). But when i run this across internet , onclicking the img -
a javascript error (OBJECT DOESN'T SUPPORT THIS PROPERTY OR METHOD) is
thrown. Why this happens? Does it have anything to do with internet
properties (Note: all the properties are enabled to allow script in IE
options). Is it because of firewall? Pls help out!

Should be a line number with the error message that you can use to pin down
the problem command.
 
Thanks Jon. The line number is 973 but there is nothing erroneous in
that line or arround it. The coding is just fine 'cause it works fine
in intranet . it throws error only across internet.

Sangeetha
 
The error message means that it's not finding whatever function / property
that is called / made use of on that particular line, for whatever reason.

You could try the same site in another browser eg firefox. If it works fine
with that, then that would imply it's an IE setting. Adding your site to
the 'trusted zones' [Tools > Internet Options > Security] may help with that

If you get the same error message with firefox, then that would perhaps
imply a server side problem eg a file you've forgotten to upload etc.



--
Jon



The previous comment in this thread was actually made by
 
I'll try what u have said. But does it have anything to do with
'C:\Inetpub\wwwroot\aspnet_client'?

Sangeetha
The error message means that it's not finding whatever function / property
that is called / made use of on that particular line, for whatever reason.

You could try the same site in another browser eg firefox. If it works fine
with that, then that would imply it's an IE setting. Adding your site to
the 'trusted zones' [Tools > Internet Options > Security] may help with that

If you get the same error message with firefox, then that would perhaps
imply a server side problem eg a file you've forgotten to upload etc.



--
Jon



The previous comment in this thread was actually made by
 
The previous comment in this thread was actually made by
I'll try what u have said. But does it have anything to do with
'C:\Inetpub\wwwroot\aspnet_client'?

Yes, probably that's the problem. That link / reference would make sense
locally but not on the server. You'd need to change that to a relative link
to point to the file you're aiming at eg just to 'aspnet_client/....'
 
I don't get u can u brief ? Pls.
In the following path
'C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322' - I have 3 files
namely SmartNav.html,SmartNav.JSF & WebUIValidation.JSF.
What should I do now?

Sangeetha
 
Reliable sources are claiming that said:
I don't get u can u brief ? Pls.
In the following path
'C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322' - I have 3 files
namely SmartNav.html,SmartNav.JSF & WebUIValidation.JSF.
What should I do now?

Within the actual code for your html / js files, if you've got any links
like 'C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\SmartNav.html' ,
then they you'd need to change them to something like
'aspnet_client/system_web/1_1_4322/SmartNav.html' , since your local
directory structure will differ from the server one.

Jon
 
I have not given any links like that.
Iam using ASP.NET.
By setting smartNavigation="True" or "False" help?

Sangeetha
 
who said in message said:
I have not given any links like that.
Iam using ASP.NET.
By setting smartNavigation="True" or "False" help?

Sangeetha

Worth trying with it off. Beyond that I'm out of ideas. Perhaps someone else
may chip in.

Jon
 
Back
Top