[jQuery] Re: Defining more than one function

2008-02-17 Thread 1man
Can't really see much wrong with the code, but it may be easier to write your hide function like J(parentDivIdHere).children().hide(1); Where the parent div is the the div containing #120141 ... etc. But that depends on what you are trying to acheive. You could also write it like J('

[jQuery] Re: Defining more than one function

2008-02-17 Thread 1man
Apologies that should be j('#idOne, #idTwo, #idThree, ').hide(1); Matt On Feb 17, 2:19 am, Michael Ray [EMAIL PROTECTED] wrote: I am trying to define three functions within the $(document).ready() function. However, each of these functions only work if the other two are not there. I

[jQuery] Re: Defining more than one function

2008-02-17 Thread Michael Ray
Thank you! I think the problem was that I was using numbers as ID names. On Feb 17, 2008 4:37 AM, 1man [EMAIL PROTECTED] wrote: Apologies that should be j('#idOne, #idTwo, #idThree, ').hide(1); Matt On Feb 17, 2:19 am, Michael Ray [EMAIL PROTECTED] wrote: I am trying to define

[jQuery] Re: Defining more than one function

2008-02-16 Thread Karl Swedberg
not sure exactly what's going on there, but one problem is that you apparently have ID values that start with a number, which is invalid. Also, do you really want those elements to take 10 seconds to hide? A demo page would help us see a bit better what's going on. --Karl

[jQuery] Re: Defining more than one function

2008-02-16 Thread Karl Rudd
I can't see any problems with the code. What about the HTML? Can you show us an example page where it's not working? Karl Rudd On Feb 17, 2008 1:19 PM, Michael Ray [EMAIL PROTECTED] wrote: I am trying to define three functions within the $(document).ready() function. However, each of these