[jQuery] Re: .length value different in IE vs FF

2009-05-29 Thread Christiaan Baartse
It is because of line endings. I think it might be that one of them counts \r\n as 1 character and the other as 2 characters. To test this, just remove all your newlines and see if the problem still occurs. On 30 mei, 08:27, Bob O wrote: > I have a pretty simple character counter to count the n

[jQuery] Re: slideUp doesn't occur

2009-05-29 Thread Christiaan Baartse
Simple. You check if $("#patientopenCloseIdentifier1").is(":hidden") is true. When you do this on a div wich is empty this always returns true. As browsers hide empte nodes. Just try and add a space or a bit of text in and you'll see it works. On 29 mei, 07:19, Nitin Sawant wrote: > Hello, >