...

View Full Version : Problem with javascript functions



mor_mah
06-21-2010, 09:53 AM
Hi to all

I have a problem with javascript functions. Please note:

I have tow pages: index.html and ajax.php.
I have my javascript function in page ajax.php and also in same page
the function is calling. In index.html page the following code is insertd:

<script language="javascript" src="ajax.php?id=123456789"></script>

With this configuration the tasks are completely fulfilled in Firefox and IE 8.
But in IE 6 and IE 7, the function most often doesn't work.
Beside, If the function name had been placed in page index.html, there is not any problem.

Thanks for your valuable contributions ...

abduraooft
06-21-2010, 09:59 AM
language="javascript" Have a try after changing the above deprecated attribute with type="text/javascript"

mor_mah
06-21-2010, 11:10 AM
Thank you abduraooft
I did your Suggestion but it Could not solve the problem.

Candan
06-21-2010, 11:16 AM
<script language="javascript" src="your_file" type="text/javascript"></script>

Tried that one?

abduraooft
06-21-2010, 11:38 AM
Thank you abduraooft
I did your Suggestion but it Could not solve the problem.Then you need to show your complete code or a link to your page.

Dean440
06-22-2010, 12:02 AM
<script language="javascript" src="your_file" type="text/javascript"></script>

Tried that one?
The language attribute is deprecated. It's been deprecated for years: you're not supposed to use it at all, ever.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum