User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 430,002 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,563 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1287 | Replies: 4
Reply
Join Date: Jun 2008
Posts: 6
Reputation: krik_ar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
krik_ar krik_ar is offline Offline
Newbie Poster

IE6 Vs IE7 JavaScript Problem.. Help Please...

  #1  
Jun 13th, 2008
Hi all,

I have an aspx file which contains both Javascript & HTML Content.
Since IE caches all .js files, i extracted the javascript content from my aspx file into a seperate .js file and referred the same in my aspx too..

<script language="javascript" src="../lorappresultsmanagement/resulttab.js"></script>

Now the problem at runtime is that in a IE7 version it works fine but the page fails to render in IE6.

Somebody please help me on this...

Thanks in advance,
Kiruba
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2006
Posts: 13
Reputation: drago865 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
drago865 drago865 is offline Offline
Newbie Poster

Re: IE6 Vs IE7 JavaScript Problem.. Help Please...

  #2  
Jun 13th, 2008
You might need to add the attribute:
  1. type="text/javascript"
.
Reply With Quote  
Join Date: Jun 2008
Location: Phoenix, AZ
Posts: 812
Reputation: R0bb0b is on a distinguished road 
Rep Power: 2
Solved Threads: 64
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: IE6 Vs IE7 JavaScript Problem.. Help Please...

  #3  
Jun 13th, 2008
Also make sure that you are clearing all browser cache.
Reply With Quote  
Join Date: Jun 2008
Posts: 6
Reputation: krik_ar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
krik_ar krik_ar is offline Offline
Newbie Poster

Re: IE6 Vs IE7 JavaScript Problem.. Help Please...

  #4  
Jun 16th, 2008
drago865:
<script language="javascript" >
and
type="text/javascript"

are equivalents and for your kind information it's working for all other Script files except for this particular file alone. The Reason may be i'm using some special characters within the .js file.

R0bb0b:
I did clear the Browser's cache... No Use...
Reply With Quote  
Join Date: Jun 2008
Location: Phoenix, AZ
Posts: 812
Reputation: R0bb0b is on a distinguished road 
Rep Power: 2
Solved Threads: 64
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: IE6 Vs IE7 JavaScript Problem.. Help Please...

  #5  
Jun 16th, 2008
How long is your .js file, can you post/attach it? If so, can you narrow it down to the function that is not working correctly?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 1:01 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC