Hi everyone, I like to learn how to create text_field by cliking button as dynamicly. I need "add" button which creates 3 text_fields on the same line, "height" * "width" = "size" I like to click button and creating 3 text fileds one takes height, one takes width and third one calculate area with multiplication of two values. but I don t know how to create text fields by clicking button each time and add more than one line -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Jun 1, 2010 at 11:50 AM, Lamer Lamer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I like to learn how to create text_field by cliking button as dynamicly. > I need "add" button which creates 3 text_fields on the same line, > "height" * "width" = "size"This has nothing to do with Rails. Find a book or tutorial on JavaScript. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 1 June 2010 19:50, Lamer Lamer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi everyone, > > I like to learn how to create text_field by cliking button as dynamicly. > I need "add" button which creates 3 text_fields on the same line, > "height" * "width" = "size" > > I like to click button and creating 3 text fileds one takes height, one > takes width and third one calculate area with multiplication of two > values. > but I don t know how to create text fields by clicking button each time > and add more than one line > --I think you will have to use javascript or AJAX Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law wrote:> On 1 June 2010 19:50, Lamer Lamer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> and add more than one line >> -- > > I think you will have to use javascript or AJAX > > Colindo you know where can I find some sample codes or documents? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Jun 1, 2010 at 12:19 PM, Lamer Lamer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> do you know where can I find some sample codes or documents?Seriously, WTF?? Use "javascript tutorial" as a Google search phrase and you''ll have enough examples and documents to last you through summer, at a minimum. Plus, you''ll be able to tell all your friends, "Hey, I know how to use a search engine!" They''ll be impressed, trust me :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder wrote:> On Tue, Jun 1, 2010 at 12:19 PM, Lamer Lamer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> do you know where can I find some sample codes or documents? > > Seriously, WTF?? > > Use "javascript tutorial" as a Google search phrase and you''ll have > enough examples and documents to last you through summer, at a > minimum. > > Plus, you''ll be able to tell all your friends, "Hey, I know how to use a > search engine!" They''ll be impressed, trust me :-) > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanyeah, you already impressed me Hassan. I haven t known about that. thanks for your helps. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.