On 8 Oct 2008, at 13:32, Jay Pangmi wrote:

>
> Frederick Cheung wrote:
>> On Oct 8, 12:58�pm, Jay Pangmi <[EMAIL PROTECTED]>
>> wrote:
>>> Frederick Cheung wrote:
>>>> On 8 Oct 2008, at 10:21, Jay Pangmi wrote:
>>
>>>
>>> thanks for the reply Fred.. the second combo box doesn't get  
>>> updated.
>>> neither any error is shown it happens like as if nothing is set to  
>>> the
>>> first combo box and just filled with some values which in fact is  
>>> not
>>> true as observe_field is set to update the second combo box.
>>
>> Is it actually making an appropriate ajax request ?
>>
>> Fred
>
> ya.. as i said if i directly type in the url to the action which is
> http://localhost:3000/user/online_booking then it works but if i open
> the index page first which will be http://localhost/user and open the
> page where these combo boxes are with a link in the index page, its  
> then
> when the second combo box stops getting updated. thnx

What I'm trying to get you to pinpoint is where it breaks when it  
breaks, or to put it another way, does it fail because:
- changing the combo box doesn't fire an ajax request
- changing the combo box fires an ajax request with incorrect parameters
- the controller screws something up
- the page does the wrong thing with the response from the controller

Your first step has to be to identify which of the above are happening  
(use firebug etc... to see what is happening)

Fred
>
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to