View Single Post
  #8 (permalink)  
Old 03-10-2008, 08:35 AM
murugesanme murugesanme is offline
Member
 
Join Date: Feb 2008
Posts: 48
Question

i am not using any of the ZF method to invoke ajax method.Onclick of one button, i am calling the ajax method and the ajax method will send request to "ajax.php?id=3&val=10" page with parameter.

xmlHttp.open("GET","ajax.php?id=3&val=10",true)
xmlHttp.send(null);

Here, what i want is, how the request should be?
like "ajax.php?id=3&val=10" ? or our standard ZF requesting like
"index.php/controller/action/id/3/val/12" ?

I tried both the ways. But not getting. Is there any other method to send ajax request ? or How i can send request to JSON formate or anything else?

-mugesh.
Reply With Quote