View Single Post
  #1 (permalink)  
Old 05-13-2008, 02:18 AM
Aurheim Aurheim is offline
Junior Member
 
Join Date: May 2008
Posts: 8
Default Handling onClick events in Zend

Hi, Im wondering how I can detect if an button is clicked so that I can do some stuff only when it is clicked. So far I only have worked in the IndexAction part of framework together with the index.phtml in the view. Should events like onclick, onchange etc go into the indexController as long as Im in the same rendered html page? Where do I find the events that are suppported, if any ..

What Im hoping to do is something like the following:

when the button is clicked I will transfere the content from a textbox to a listbox
when checkboxes/radiobuttons change their status I will save their status in the session object for later use

Last edited by Aurheim : 05-13-2008 at 02:36 AM. Reason: Some more info:
Reply With Quote