[jQuery] get text of a element, but without children text

2007-09-22 Thread Jarod Liu
ul li text1 ul litext2/li /ul /li /ul when i use $(ul li).text() i got a string containing both text1 and text2, how can i just get the string text1. thanks in advance.

[jQuery] Re: how to disable a handler with a click

2007-08-07 Thread Jarod
Hi Mitchell, a class=sound_event ref=../sounds/sound1.mp3link1/a a class=sound_event ref=../sounds/sound2.mp3link2/a input type=checkbox id=sound_switch value=turn on/off/ $(document).ready(function(){ $(.sound_event).click(function(){ if ($(#sound_switch).attr(checked)) {

[jQuery] Re: jCarouselLite version 0.4.0

2007-07-25 Thread Jarod
cheers. i like this plugins. it's very easy to use. On Jul 26, 6:28 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Hi list, I have updated the jCarouselLite plugin to its next revision - 0.4.0 . The project page is athttp://www.gmarwaha.com/jquery/jcarousellite/index.php This revision adds

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

2007-07-21 Thread Jarod
Hi, Chrisss, Maybe $.getScript is what you looking for. say, there is a hello.js with content: alert(hello); when you invoke $.getScript(hello.js) , scripts in hello.js will be eval and execute. for more details about $.getScript you can checkout the api doc On Jul 21, 12:57 am, Chrisss