My application's JavaScript is working on Firefox and IE but it is not working in Google Chrome. Is it problem of enable javascript in Google chrome? or I must put any code in javascript for getting XMLHttpRequest Object of Google chrome browser.
Asked
Active
Viewed 1.1k times
2
-
Can you give us an example of something that's not working? What about a simple alert() ? – Wayne Koorts Apr 17 '09 at 10:54
-
yes, I call one function of javascript when It will not give one alert which is given in that at the starting of this function. please help me. – ashish bhatt Apr 17 '09 at 11:14
-
I got two errors in that Like Sys is not define Sys.WebForms.PageRequestManager._initial... document.getElementById('aspnetForm')); and Sys.Application.initialize(); – ashish bhatt Apr 17 '09 at 11:31
4 Answers
1
If the code works in two other browsers but not in Chrome, you need to look at the code for your "ajaxFunction" because that is apparently what is giving Chrome a headache. As @Artem mentioned, Ctrl+Shift+J will bring up the Javascript Console (switch it to the "Scripts" tab) and you can easily examine any errors.

Peter Bromberg
- 1,498
- 8
- 11
0
Is this question related to this problem? Problem could be that .NET thinks you're using the Safari Browser instead of Chrome...

Community
- 1
- 1

Wim ten Brink
- 25,901
- 20
- 83
- 149
0
Google Chrome's Javascript engine interprets JS very similarly to the other browsers mentioned. What is it that doesn't appear to be working?

cgp
- 41,026
- 12
- 101
- 131
0
There is a Javascript Console in Chrome, press Ctrl+Shift+J to open it and check for errors.

Artem Koshelev
- 10,548
- 4
- 36
- 68