开发者

none of the w3schools ajax examples work in firefox

None of the ajax examples on开发者_JAVA百科 the w3schools site seems to work for me in firefox 3.0.19

For example: http://www.w3schools.com/ajax/ajax_database.asp

Any ideas how this should be fixed? I've got the same problem on my site...


You can start fixing it by avoiding w3schools altogether. When I read "for IE6, IE5" in the example source I had a shudder.

As an AJAX beginner it would be easier and simpler if you used jQuery or some other JS library's AJAX facilities. Googling for "jquery ajax tutorial" should give you more than enough to get started.

A final aside: upgrading FF to 3.6 or 4 would also not be a bad idea.


Check whether Javascript is enabled in your "firefox" browser.


Install the Firebug add-on and look in the console.

My guess is that you have something like NoScript installed, or the Web Developer toolbar with Disable JavaScript set to true. I have done this lots of times :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜