Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-11-2008, 05:59 PM
xentek's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

Mugesh,

Can you run ajax.php?id=3&val=10 in the browser? Does it say 'hai' when you do? That is the first thing to try.
__________________
- xentek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 03-12-2008, 01:07 AM
Junior Member
 
Join Date: May 2007
Posts: 25
Default

it sounds like your ajax script is running outside the scope of ZF. if you dont want to run it through a controller then you will need to update your rewrite rules.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 03-12-2008, 04:14 PM
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Default

Are you using the MVC?

I usually have the AJAX call be an action of the controller that is calling it. So,

ajax.php?id=3&val=10

Seems wrong to me. The call would be something like:

/controller/ajax/id/3/val/10

and then you would treat the page like a normal page in the web app only the call to it would be an ajax call.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 07-02-2008, 07:04 AM
Junior Member
 
Join Date: Jul 2008
Location: Ahmedabad
Posts: 9
Default

How could I integrate prototype.js with ZF? Is there any example available on net?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:19 PM.