Re: [jQuery] events on cloned objects?

2006-12-19 Thread Khurshid MUROD
no events are not cloned, I've had the same problem, as Erik says you gotta reapply events -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Wednesday, 20 December 2006 3:33 PM To: jQuery Discussion. Subject: Re: [jQuery] events on cloned

Re: [jQuery] Getting the TEXT of an option tag, not the value.

2006-12-18 Thread Khurshid MUROD
Have you tried doing $('#filter option:selected').text(); There was a similar problem with using [EMAIL PROTECTED] before. No one explained why it wasn't working though Kush -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mungbeans Sent: Tuesday, 19 Dece

[jQuery] JQuery inArray

2006-11-01 Thread Khurshid MUROD
Hi, Is there _javascript_ equivalent of php inArray? Cheers, Kush ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Reset JQuery collection

2006-11-01 Thread Khurshid MUROD
Discussion. Subject: Re: [jQuery] Reset JQuery collection   If you have stored $('.boxes') in a variable before the removal and checked size after the removal, you would get this problem. But you shouldn't if you just use $('.boxes') again. Blair On 11/2/06, Khurshi

[jQuery] Reset JQuery collection

2006-11-01 Thread Khurshid MUROD
Hi, Is there any way to reset JQuery collection. For example I do this: $('.boxes').size(), returned 3 Then I do this: $('.boxes:visible').remove(); Let's assume there were 2 visible boxes. So logically I'd expect JQuery to return 1 when I do this again: '.boxes').size(), but it is still returnin

[jQuery] Find selectedIndex of select>option

2006-11-01 Thread Khurshid MUROD
Hi,   Does anybody know JQuery way of getting selectedIndex of a select   In the code below I am getting all [select]s from #box, now I need to figure out what is selectedIndex for those selects.   $(‘#box’).filter(':select')   Thanks __

Re: [jQuery] json.js

2006-10-30 Thread Khurshid MUROD
Thanks a lot Mark, works fine. Will make a page with some examples later for now just a link for those who had/have the same problem http://eboyreal.com/sandbox/jquery/jquery-json.js -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Gibson Sent: Tuesda

Re: [jQuery] json.js

2006-10-29 Thread Khurshid MUROD
Hi, When I introcuded json.js [http://json.org/json.js] from http://json.org/ . Problem now is my browser keeps freezing and eating up CPU. I checked and it is clearly conflicting with JQuery. Did anyone had similar problem. K ___ jQuery mailing lis

Re: [jQuery] Events are not cloned together with the object

2006-10-26 Thread Khurshid MUROD
Hi, Just got back to work, and got the snippet below -xhtml File Description Clone me -jquery // clone this file upload section $('.cloneMe').click(function(){ $(this).parent().clone().appendTo('#fileqa_submit').slide