Hello I am using tinymce for my rails application with context to some form. I am developing a small test application for users to give online tests where after certain time period the exam is completed while the end time is reached , but I am facing a problem disabling the tinymce text area used in my application . After the time out is reached I would like to disable the text area , and user must not be able to add any data . in the textarea, Requesting someone to help me out ! Raghavendra T Shet Software Developer Place Pune country India --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Add disabled=true to the form elements you wish to disable. On Jul 30, 11:05 am, "raghubetter" <raghubet...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > I am using tinymce for my rails application with context to some form. > > I am developing a small test application for users to give online tests > where after certain time period the exam is completed while the end time is > reached , but I am facing a problem disabling the tinymce text area used in > my application . > > After the time out is reached I would like to disable the text area , and > user must not be able to add any data . in the textarea, > > Requesting someone to help me out ! > > Raghavendra T Shet > > Software Developer > > Place Pune > > country India > > image001.gif > 1KViewDownload--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Can u send me a piece of small code . Well I believe your reply helped in all ways . Regards & Thank-you Raghavendra T Shet Software Developer Place Pune country India -----Original Message----- From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Diodeus Sent: Tuesday, July 31, 2007 1:42 AM To: Ruby on Rails: Spinoffs Subject: [Rails-spinoffs] Re: TinyMCE problem Add disabled=true to the form elements you wish to disable. On Jul 30, 11:05 am, "raghubetter" <raghubet...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > I am using tinymce for my rails application with context to some form. > > I am developing a small test application for users to give online tests > where after certain time period the exam is completed while the end timeis> reached , but I am facing a problem disabling the tinymce text area usedin> my application . > > After the time out is reached I would like to disable the text area , and > user must not be able to add any data . in the textarea, > > Requesting someone to help me out ! > > Raghavendra T Shet > > Software Developer > > Place Pune > > country India > > image001.gif > 1KViewDownload--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
If your for is called "aForm" and your textarea is called "ta1" you could use: document.aForm.ta1.disabled=true On Jul 31, 1:26 am, "raghubetter" <raghubet...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Can u send me a piece of small code . > Well I believe your reply helped in all ways . > > Regards & Thank-you > > Raghavendra T Shet > Software Developer > Place Pune > country India > > -----Original Message----- > From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Diodeus > Sent: Tuesday, July 31, 2007 1:42 AM > To: Ruby on Rails: Spinoffs > Subject: [Rails-spinoffs] Re: TinyMCE problem > > Add disabled=true to the form elements you wish to disable. > > On Jul 30, 11:05 am, "raghubetter" <raghubet...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hello > > > I am using tinymce for my rails application with context to some form. > > > I am developing a small test application for users to give online tests > > where after certain time period the exam is completed while the end time > is > > reached , but I am facing a problem disabling the tinymce text area used > in > > my application . > > > After the time out is reached I would like to disable the text area , and > > user must not be able to add any data . in the textarea, > > > Requesting someone to help me out ! > > > Raghavendra T Shet > > > Software Developer > > > Place Pune > > > country India > > > image001.gif > > 1KViewDownload--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---