[jQuery] Re: 1.2 out?

2007-09-11 Thread March
Great!!! I'm eager to use it~~~ On 9/11/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > Its available for download but it hasn't been officially released. We're > wrapping up some things. > > Rey... > > Justin Sepulveda wrote: > > Yah, it looks like they're in the middle of updating everything. > >

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread March
but the $.getScript() has a weakness, cross domain restrict... that's really bad... On 7/22/07, Stephan Beal <[EMAIL PROTECTED]> wrote: > > On Jul 21, 2:15 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > > Try this: > > > > if (typeof myFunction === "undefined") { > > Shouldn't that be: > > if( ty

[jQuery] Re: how could I unbind .hover() ?

2007-06-22 Thread March
But probably the easiest way to deal with it is to have your hover > > > functions check some state before doing the hover effects, and then > > > don't worry about unbinding them: > > > > > > $(...).hover(function() { > > > if(/* check for something */) {

[jQuery] how could I unbind .hover() ?

2007-06-22 Thread March
i did something like this: $('div').hover(function(){ // do something },function(){ // do something else }); but after some event, i need to disable the hover effect, is there any easy way to do this? thanks -- Zacky Ma www.marchbox.com

[jQuery] Re: What's DOM manipulation methods return values?

2007-06-19 Thread March
t; > --Karl > _ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > > > > On Jun 19, 2007, at 10:41 PM, March wrote: > > > e.g. > > var para = $('p#firstPara').after('...'); > > now, what's p

[jQuery] What's DOM manipulation methods return values?

2007-06-19 Thread March
e.g. var para = $('p#firstPara').after('...'); now, what's para? $('p#firstPara') or $('p#secondPara')? in my testing, it's $('p#firstPara'), but i think it should be $('p#secondPara')... -- Zacky Ma www.marchbox.com

[jQuery] jQuery may add $.browser.isiPhone

2007-06-17 Thread March
i found there is a method which can detect if your use is browsering your site on iPhone, function isiPhone() { var agent = navigator.userAgent.toLowerCase(); return agent.match(/iPhone/i); } this method defined in http://images.apple.com/global/scripts/browserdetect.js maybe jQuery may

[jQuery] Re: I asked out of curiosity.

2007-06-03 Thread March
you could use it like this: $('.children0').prepend(this.parents('.myclass-siblings').prev().text()); On 6/3/07, Mario Moura <[EMAIL PROTECTED]> wrote: > Hi Folks > > I have a group of div's with same class. > > MY TEXT 1 > > > <=TO HERE (1) > > > > MY TEXT 2 > > >

[jQuery] Re: Javascript question: Get elementid inside an element

2007-06-01 Thread March
getElementById() is an Document object method, doesn't belong to Element object, so can not use it as Element.getElementById(); maybe you can do it like this (without jQuery): var children = document.getElementById('001').childNodes; for(var i=0;i wrote: > Could you also post the non jquery code