DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2011-05-03 02:27:52

ztrider
New member

IE9, Javascript not workinf

I can't get javascript/dynamic HTML to work under the IE9-tab.
It works under the other tabs.
I have tried with some simple tests:

Test 1
<button type="button" onclick="alert('Hello');">Clicktest</button>

Test 2
<button type="button" onclick="clicktest2();">Clicktest</button>
<script language="JavaScript" type="text/javascript">
function clicktest2() {
  alert('Hello again');
}
</script>

Is there some workaround or some setting i can use?

--
MS Windows 7 Professional (64-bit)
IE 8.0.7600.16385
IETester v0.4.10

Offline

 

#2 2011-07-03 22:43:06

maorb
New member

Re: IE9, Javascript not workinf

I have this issue too - IE9 tab (on Windows 7 64bit OS) does not show any JS in any site.
in other  tabs (ie7/8) it works well.
More than that - the IE9tab is being crashed every time I browse to a new site.
Any ideas for that?

I use the latest IE tester.

Thanks

Last edited by maorb (2011-07-03 22:43:42)

Offline

 

#3 2012-01-21 04:20:32

cmc.tech
New member

Re: IE9, Javascript not workinf

I'm having the same problem as ztrider and maorb.

I think a moderator needs to talk to yingxuy about his/her post. I don't think this forum was designed with the intent of users posting advertisements that might also produce spam to subscribers of this topic. It's an abuse of the system that violates the forum users' rights, and yingxuy should, and must, respect the other users' rights, simply put.

To the subject matter:

I have tried with the following combination of code:

Code:

<noscript>
    For full functionality of this site it is necessary to enable JavaScript.
    Here are the <a href="http://www.enable-javascript.com/" target="_blank">
    instructions how to enable JavaScript in your web browser</a>.
</noscript>

<div id="example"></div>

<script type="text/javascript"> // <http://www.w3schools.com/js/js_browser.asp>

txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p>Browser Name: " + navigator.appName + "</p>";
txt+= "<p>Browser Version: " + navigator.appVersion + "</p>";
txt+= "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt+= "<p>Platform: " + navigator.platform + "</p>";
txt+= "<p>User-agent header: " + navigator.userAgent + "</p>";

document.getElementById("example").innerHTML=txt;

</script>

but, neither of these two ideas worked for me. And, similar to maorb's other issue, if I open any other tab concurrently, do some refreshes on the IE9 tab, and then let the tabs stay idle for a moment or two, the other tab will invariably crash. But, perhaps we should approach those issues, separately, in another topic.

As any developer, I'm aware that some will people will want to have the latest and greatest as soon as it comes out, but, I don't want to install IE9 on my own machine, at least not until I finish setting up VirtualBox (on a 64-bit system). My hope in using this application was that I wouldn't have to install the full-fledged IE9, yet. This utility could be really helpful in that respect. It would be nice to hear some additional, knowledgeable, constructive input toward resolving this issue. I really look forward to hearing such, as I have already-deployed pages that I really need to test. Thanks, in advance, for any assistance...

smile

Last edited by cmc.tech (2012-01-21 05:18:18)


Windows Vista Ultimate SP2 (32-bit)
Internet Explorer 7.0.6002.18005
IETester Version: v0.4.11

Offline

 

#4 2012-03-17 14:31:31

omurphy27
New member

Re: IE9, Javascript not workinf

I spent the last hour scouring google and stackoverflow trying to figure out why my Javascript was working in IE6,7 and 8, but not 9, then found out it was indeed IE tester that was at fault. IE9 in the IETester won't even display simple alerts.

I finally upgraded my IE to version 9 and lo behold everything works fine. IETester is an awesome program, but it would be nice if you guys fixed this so other people don't go through the same thing I did.

Offline

 

#5 2012-03-17 14:34:21

omurphy27
New member

Re: IE9, Javascript not workinf

Oh, and not sure if it matters, but I'm also running Windows 7 64bit and I was using xampp for my local development.

Last edited by omurphy27 (2012-03-17 14:38:49)

Offline