Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Jacky
mailing list discuss@jquery.com http://jquery.com/discuss/ -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Select third column of the table

2007-01-11 Thread Jacky
Dear all, If I want to select the 3rd column of the table, (e.g. 3 rows) $("tr > td:eq(2)") would returns only one . $("tr").find("td:eq(2)") would returns 3 . Is that ":eq(2)" is applied to the whole "tr>td" set? Is that correc

Re: [jQuery] Function to enumerate the querystring?

2006-11-01 Thread Jacky
at I want (considering > my current lack of JS/jQuery syntax). Would you mind showing me what to > do? > > > Thank you, > Chris. > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Popup window reference problem

2006-10-18 Thread Jacky
;s html, and then access it using window.$(). > > Blair > > > On 10/19/06, Jacky <[EMAIL PROTECTED]> wrote: > > > > I have tried to directly use the window reference. > > i.e. > > var abc = ref.document.getElementById("abc1"); > > abc.pa

Re: [jQuery] Popup window reference problem

2006-10-18 Thread Jacky
I have tried to directly use the window reference. i.e. var abc = ref.document.getElementById("abc1"); abc.parentNode.removeChild(abc); The result is correct that the input box in popup windows being removed. Seems that jQuery cannot use popup window reference? On 10/17/06, Jac

[jQuery] Popup window reference problem

2006-10-17 Thread Jacky
f.document).find("#popup_body #abc1").remove(); $("#popup_body #abc1",ref.document).remove(); $(ref.document).find("#popup_body #abc1",ref.document).remove(); but all failed. Any idea how can I can the correct reference?? P.S. using jQ ver 1.0.2 -- Best Regards, Jacky http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Escaping string in css selectors?

2006-10-16 Thread Jacky
p://www.w3.org/TR/html4/types.html#type-name > > > > Blair McKenzie wrote: > > jQuery selectors don't support escaping characters. You would be better > > off adding a class to those inputs (e.g. "idinput") and selecting by that. > > > > Blair > > &g

[jQuery] Escaping string in css selectors?

2006-10-16 Thread Jacky
Is there a way to escape special character is selector? e.g. say i want to select all id inputs, I should use something like $("[EMAIL PROTECTED]") but obviously I need to escape the ']' character. -- Best Regards, Jacky http

Re: [jQuery] unsuscribe

2006-10-12 Thread Jacky
a > while to remember. > > Thanks, > Raffael > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Appending to

2006-10-10 Thread Jacky
> However, it bombs (empty ) in both IE6 and O9... > > In IE the innerHTML property for a select element is readonly, so forget > about html() or append(). > > You'll have to use the option constructor or document.createElement... > > > -- Klaus > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Is there a way to "endAll()"?

2006-10-09 Thread Jacky
After some find(), filter(), parent(), siblings()..., is there any convenient way to end() back to the original $("xxx")? This would be good for plugins to return the original jQuery object. -- Best Regards, Jacky http://jacky.s

Re: [jQuery] Performance question

2006-10-07 Thread Jacky
er than $('div#my-id'), and > b. $('div.my-class') is faster than $('.my-class') > > Hop that helps. > > Karl > ___ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] $.merge() can be used on object?

2006-10-06 Thread Jacky
t;0){ if(jQuery("select."+o.className+j).val()!=this[o.f+j][o.v]){ isMatch = false; break; } } if(isMatch){ match = jQuery.merge(match,[this[o.f+num]]); } }); return match; } } -- Best Regards, Jacky http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] question on how not() works

2006-10-05 Thread Jacky
should go against the @type attribute, or its > classname, instead. > > --John > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] question on how not() works

2006-10-04 Thread Jacky
it's not the true inverse, but you get the idea. > > --John > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] question on how not() works

2006-10-04 Thread Jacky
> You're saying: > - Anything that's not an input element > - AND anything that's type property isn't checkbox > - AND anything that's name isn't checkbox > > It's the first one that's goofing you up, in the end you can probably > just reduce i

[jQuery] question on how not() works

2006-10-04 Thread Jacky
ing 'hidden','text','select' and 'textarea' would be alerted. But in reality, it will only alert 'select' and 'textarea'. Why is that?? -- Best Regards, Jacky http://jacky.seezone.net ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/