in some other language have a concept e.i "auto postback" So, in Ruby on rails is there any such option e.i "auto postback" or same as "auto postback" basically what i want ot do is that i have 2 select box One for "Industry" and other for "Chemical" 1st we show all the industry in "Industry" select box. if we select any 1 industry from there, then the corrosponding chemicals will b shown in the "chemical" select box... please help me any one.... THankx --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 9 Jul 2008, at 11:04, Soutom wrote:> > > > in some other language have a concept e.i "auto postback" > > So, in Ruby on rails is there any such option e.i "auto postback" > or same as "auto postback" > > basically what i want ot do is that i have 2 select box > One for "Industry" and other for "Chemical" > > 1st we show all the industry in "Industry" select box. > if we select any 1 industry from there, then the corrosponding > chemicals will b shown in the "chemical" select box... >same as any other language: give the select box an onchange (or use observe_field/observe_form) Fred --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thankx a lots.... will u please send me the proper syntax (if possiable 1 example) of observe_field and observe_form thanking You On Jul 9, 3:18 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 9 Jul 2008, at 11:04, Soutom wrote: > > > > > in some other language have a concept e.i "auto postback" > > > So, in Ruby on rails is there any such option e.i "auto postback" > > or same as "auto postback" > > > basically what i want ot do is that i have 2 select box > > One for "Industry" and other for "Chemical" > > > 1st we show all the industry in "Industry" select box. > > if we select any 1 industry from there, then the corrosponding > > chemicals will b shown in the "chemical" select box... > > same as any other language: give the select box an onchange (or use > observe_field/observe_form) > > Fred--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 9 Jul 2008, at 11:29, Soutom wrote:> > Thankx a lots.... > > will u please send me the proper syntax (if possiable 1 example) of > observe_field and observe_form > >Check out the api docs for them (api.rubyonrails.org) Fred> thanking You > On Jul 9, 3:18 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> On 9 Jul 2008, at 11:04, Soutom wrote: >> >> >> >>> in some other language have a concept e.i "auto postback" >> >>> So, in Ruby on rails is there any such option e.i "auto postback" >>> or same as "auto postback" >> >>> basically what i want ot do is that i have 2 select box >>> One for "Industry" and other for "Chemical" >> >>> 1st we show all the industry in "Industry" select box. >>> if we select any 1 industry from there, then the corrosponding >>> chemicals will b shown in the "chemical" select box... >> >> same as any other language: give the select box an onchange (or use >> observe_field/observe_form) >> >> Fred > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thankx .... thankx a lots.... On Jul 9, 3:30 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 9 Jul 2008, at 11:29, Soutom wrote: > > > > > Thankx a lots.... > > > will u please send me the proper syntax (if possiable 1 example) of > > observe_field and observe_form > > Check out the api docs for them (api.rubyonrails.org) > > Fred > > > thanking You > > On Jul 9, 3:18 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > >> On 9 Jul 2008, at 11:04, Soutom wrote: > > >>> in some other language have a concept e.i "auto postback" > > >>> So, in Ruby on rails is there any such option e.i "auto postback" > >>> or same as "auto postback" > > >>> basically what i want ot do is that i have 2 select box > >>> One for "Industry" and other for "Chemical" > > >>> 1st we show all the industry in "Industry" select box. > >>> if we select any 1 industry from there, then the corrosponding > >>> chemicals will b shown in the "chemical" select box... > > >> same as any other language: give the select box an onchange (or use > >> observe_field/observe_form) > > >> Fred--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---