[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Daemach
var redlineExists = ($('#redlineSelect').size()) On May 23, 10:31 am, Andy Matthews [EMAIL PROTECTED] wrote: I've got some multiple dropdowns that I'm trying to conditionalize. Our designers can select one (or both) of two sets of code. I'd like to conditionalize my jQuery code so that if the

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Daemach
var redlineExists = ($('#redlineSelect').size() 0) if you want a true boolean, I guess... On May 23, 10:31 am, Andy Matthews [EMAIL PROTECTED] wrote: I've got some multiple dropdowns that I'm trying to conditionalize. Our designers can select one (or both) of two sets of code. I'd like to

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Andy Matthews
() daemach. That's better than the idea I had. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daemach Sent: Wednesday, May 23, 2007 12:35 PM To: jQuery (English) Subject: [jQuery] Re: Boolean value for if an element exists var redlineExists

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Jeffrey Kretz
- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Wednesday, May 23, 2007 10:50 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Boolean value for if an element exists Thanks. I think I'm going to try a different tack. Ideally, I'd like