View Single Post
  #1 (permalink)  
Old 06-07-2008, 03:23 PM
paritycheck paritycheck is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Exclamation Problem with Ajax Request URI - help!

Hi guys I'm working with Dojo and teh Zend Framework and seem to have some problems with respect to the request urls which I pass to my Ajax request objects.

Like lets say Im on the index page and wish to access an ajax action on lets say :

PHP Code:
index/doajax 
So just adding 'doajax' as the request url upon setting up a doajaxAction function in my indexcontroller is no issue however if lets say my browser page url has a few params added to it eg:

PHP Code:
index/page/
Now if I try to call the original request url it sends a call to

PHP Code:
index/page/2/doajax 
...appending the action to the end of the whole url, messing it all up! How do I fix this issue I really need some help on this guys!
Reply With Quote