View Single Post
  #9 (permalink)  
Old 05-14-2008, 10:42 PM
sim sim is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

Quote:
Originally Posted by Aurheim View Post
If I let a event go to "/something" in the onclick event, I get an error from Ie telling me that /html/something dont exist. What did I forget? Shouldnt it go to somethingController.php in the /controller/something directory? Or have I missunderstod something?
Yes, it should. You have the right idea.

Apparently IE can't make sense of the address. Try using a the full address of the Zend controller rather than a relative address from the current page.

Depending on how your server is handling address rewrites it might be something like:

http://localhost/yourapp/controller/action

or if you're not using rewrites:

http://localhost/yourapp/html/controller/action

That would call the controllerController's method actionAction().
Reply With Quote