[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. On Sep 10,

[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( typeof myFunction ===

[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: how could I unbind .hover() ?

2007-06-22 Thread March
} }); The check would be specific to your application. --Erik On 6/22/07, March [EMAIL PROTECTED] wrote: i did something like this: $('div').hover(function(){ // do something },function(){ // do something else }); but after some event, i need

[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

[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. div class=myclassMY TEXT 1 /div div class=myclass-siblings div class=children0

[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;ichildren.length;i++){