Over the years there has been considerable interest in providing conditional chaining functionality to jQuery, though nothing has ever been cemented.
http://groups.google.com/group/jquery-en/browse_thread/thread/43a69fa41f6e7089/6cebfee318992fe6 http://groups.google.com/group/jquery-dev/browse_thread/thread/d82ea6dcdc9f0ab/e6be92f209194363?lnk=gst&q=ifelse#e6be92f209194363 "Cowboy" Ben Alman has just released another implementation of this method on his blog, http://benalman.com/projects/jquery-iff-plugin/ , and I wanted to direct everyone's attention to it, in order to revive discussion of the possibility of including if (and else?) methods to the jQuery core. In the past there has been a great deal of wrangling about the implementation of this logic, but I'm of the mind that it is time to get the cart out of the horse's way on this one... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---