Hi,

   i have to doubts in using ajax n svg with 2 main browsers.


i am including 2 extrnal javascript files in svg. i want to send the
XMLHTTPRequests in both IE n mozilla. 


var request = newXMLHttpRequest();
   
   request.onreadystatechange = getReadyStateHandler(request, CallBack);
   request.open("POST", "Server.do", true);
   request.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");

  request.send("Nameofplace=" + CircleName + "&" + "Id=" + groupId +
"&" + "CoordX=" + CX+ "&" + "CoordY=" + CY);
  

n in Callback i am using like this 

function CallBack(placexml) {
 
   var LocationEl = placexml.getElementsByTagName("Location")[0];
   var IdofGroup =
placexml.getElementsByTagName("Location")[0].getAttribute("Id");
   var LocationType =
placexml.getElementsByTagName("Location")[0].getAttribute("Type");
   var LocationName =
LocationEl.getElementsByTagName("Name")[0].firstChild.nodeValue;
   var g = SVGRoot.getElementById(IdofGroup);






IE doesnt support sending request like this n mozilla even though
supports requests doesnt parse like this.

can anyone tell me a work around for this problem so that i can work
my program both in IE n mozilla.

tnks for suggestions,

byee,
pramod.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to