I am just trying to figure out if I can do this or whether I am just doing it
wrong

I have a form that displays more of itself as the user fills in info. When
they choose from a select option it calls a javascript function via
Prototype which makes a request to the server for a controller. The issue is
this. The view variables from the controller are set to display for the
matching view template. But since I was using Ajax I had the other part of
the form hidden via a div:

<div id="adjForm" style="display:none" >
rest of the form....
</div>

The issue is that the div above is in the original page. So it does not see
any of the view variables from the controller. 

Is there a way to make it see those?


I know that I can take out what is in the div and put it into the view that
the controller is looking for, but I wanted to do it with all the code in
one page and using a display:none. Will I have to pull the code back out and
put it in the the view?





-- 
View this message in context: 
http://www.nabble.com/ZF-with-Ajax-tp24432700p24432700.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to