Wrox Programmer Forums
|
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 27th, 2006, 05:18 AM
Authorized User
 
Join Date: Jan 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anandham
Default AJAX in firefox

Hi, I am trying to implement ajax in firefox browser. The js code snippet is given below : //----------------------------------------------------------xmlobject = document.implementation.createDocument("","",null) ; xmlobject.async=false; var loaded = xmlobject.load("<?xml version=''1.0''?><xml><item><name>sample</name><value>sample</value></item></xml>"); //the xml here is actually returned from a jsp which is called from javascript if (loaded) { alert("loaded"); parseXML(); } //..........some code here //---------------------------------------------------------- The alert box is never raised and the function parseXML is not called. This code snippet, I had taken from the following link http://www.webmasterworld.com/forum91/3517.htm. I had the same problem earlier as mentioned there. Can any one tell me the reason why this xml object is not getting loaded? Or, code snippets wherein AJAX has been implemented in FireFox would help.

Prem Anandh P.
Ambition Never comes to an End
__________________
Prem Anandh P.
Ambition Never comes to an End





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with AJAX in Firefox geoko BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 June 27th, 2009 11:57 AM
Recommend an AJAX IDE - JoyiStar AJAX WebShop. kingstar Ajax 4 December 15th, 2006 05:12 AM
Ajax error on FireFox when pass value to next page lvb BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 September 28th, 2006 09:22 AM
New Ajax article: Creating an Ajax Search W jminatel BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 May 11th, 2006 03:45 PM
new Ajax article: Creating an Ajax Search Widget jminatel Ajax 0 May 11th, 2006 02:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.