Hi Pradeep and Mona, Thanks for your valuable comments. Now i got an idea to do it.
Regards -Arun On Nov 27, 6:24 pm, spradeepkumar <[EMAIL PROTECTED]> wrote: > hey arun, > > what mona suggested was a perfect solution, but you do not need prototype > help..for implementing it..if you are a developer in javascript... > > But prototype easy solution for the requirement... > > use Element.observe --> to listen for the toggle on click event.. > use Element.hasClassName(classname) --->to check whether the particular check > box exists > use Element.toggleClassName(classname)--->to toggle the checkbox as the > unselected check box. > > Hope this clarifies > > Regards, > pradeep > > ---- On Thu, 27 Nov 2008 Mona Remlawi <[EMAIL PROTECTED]> wrote ---- > > > > > Hi Arun, > > > > A way to go around this is to group your checkboxes by classname. Then > > observe the click event on all checkboxes to check/uncheck all other > > checkboxes with same classname. > > > > cheers > > > > -- > > mona > > [EMAIL PROTECTED] > > > > On Thu, Nov 27, 2008 at 5:14 AM, Arun <[EMAIL PROTECTED]> wrote: > > > > > > Hi Walter , > > > > > > Thank you for your response. > > > What you guess is correct, > > > For example > > > > > > [] Apple > > > [] Cat > > > [] Rat > > > [] Orange > > > [] Pears > > > > > > If i click Apple or Orange or Pears all the other checkbox associated > > > with any fruit name should be checked like below > > > > > > Clicking Apple or Orange > > > > > > [x] Apple > > > [ ] Cat > > > [ ] Rat > > > [x] Orange > > > [x] Pears > > > > > > With Regards > > > -Arun > > > > > > On Nov 26, 9:48 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > > >> On Nov 26, 2008, at 8:32 AM, Arun wrote: > > >> > > >> > Hi All, > > >> > > >> > Can we create a group checkbox using prototypejs? > > >> > Appreciate if anybody could guide me how to do Group checkbox using > > >> > > >> prototypejs. > > >> > > >> I'm not familiar with this feature name, can you explain in general > > >> terms what it might mean? For example, I am guessing that you might > > >> mean something like "click this widget and all associated checkboxes > > >> get checked", but that's just a very distant guess. > > >> > > >> Thanks, > > >> > > >> Walter > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
