[jQuery] Re: detecting when jquery affects a form element

2010-01-15 Thread Eric Cope
I figured it out. .trigger('change') works great. Thanks, Eric On Jan 15, 1:43 am, Eric Cope wrote: > Hello all, > Is there a way to detect when jquery affects a form field? Something like > .change(), but when jquery makes the change, not the user? > Thanks! > > -- > Eric Cope

[jQuery] detecting when jquery affects a form element

2010-01-15 Thread Eric Cope
Hello all, Is there a way to detect when jquery affects a form field? Something like .change(), but when jquery makes the change, not the user? Thanks! -- Eric Cope

[jQuery] Re: slideUp very slow depending on number of fields above

2010-01-12 Thread Eric Cope
Update: My Firefox memory must have been overloaded - I restarted Firefox and the times are down to 100ms, as expected. Could jquery be adding things to the DOM slowing down parsing? Eric On Wed, Jan 13, 2010 at 12:29 AM, Eric Cope wrote: > Hello all, > I am using the slideUp animation t

[jQuery] slideUp very slow depending on number of fields above

2010-01-12 Thread Eric Cope
quot;#endorsementFeeAdjustmentDescription").val(""); //$("#endorsementFeeAdjustmentAmount").val(""); document.getElementById ("endorsementFeeAdjustmentDescription").value = ''; document.getElementById("endorsementFeeAdjustmentAmount").value = ''; }); } }); Thank you, Eric

[jQuery] added form elements not sent using Firefox

2010-01-12 Thread Eric Cope
, but nothing conclusive. I see the DIVs show up in Firebug. Could this be jquery related? Thanks in advance! Eric

[jQuery] Re: SimpleModal (probably something really stupid)

2010-01-08 Thread Eric Martin
I would strongly suggest downloading the one of the demos [1], like the basic one, which will probably help answer all of your questions. -Eric [1] http://www.ericmmartin.com/projects/simplemodal-demos/ On Jan 7, 7:57 pm, polarwarp wrote: > I am using the jquery simplemodal code to displa

Re: [jQuery] Re: how to access elements with index in for-loop

2009-12-23 Thread Eric Zhong
thank you very much, your way is better than mine ! 2009/12/24 Šime Vidas > > First of all, the "wrong" code is wrong, look this is your code: > > $(function(){ >var trs = $("#tb tr:not(:first)") > >for( var i=0; i<$trs.length; i++ ) { >//$trs[i].find("td:eq(1

Re: [jQuery] Re: how to access elements with index in for-loop

2009-12-23 Thread Eric Zhong
thanks again, i think i have understand your mind. Thanks! 2009/12/24 Richard D. Worth > The index is passed as the first argument to the callback function you > provide to .each. > > - Richard > > > On Wed, Dec 23, 2009 at 8:49 PM, Eric Zhong > wrote: > >>

Re: [jQuery] Re: how to access elements with index in for-loop

2009-12-23 Thread Eric Zhong
2009/12/24 Richard D. Worth > What about using .each? > > http://docs.jquery.com/Core/each#callback > > - Richard > > > On Wed, Dec 23, 2009 at 8:34 PM, Eric Zhong > wrote: > >> >> >> 2009/12/24 Eric Zhong >> >> when i use for

[jQuery] Re: how to access elements with index in for-loop

2009-12-23 Thread Eric Zhong
2009/12/24 Eric Zhong > when i use for-loop to access elements with array index or get() method it > doesn't work. > but i have to use the index to access, what happen please . > > > ok: http://jsbin.com/olego > wrong: http://jsbin.com/ulixu > wrong:http://jsbin.com/axugi

[jQuery] how to access elements with index in for-loop

2009-12-23 Thread Eric Zhong
when i use for-loop to access elements with array index or get() method it doesn't work. but i have to use the index to access, what happen please . ok: http://jsbin.com/olego wrong: http://jsbin.com/ulixu

[jQuery] Re: The most incredible thing happened

2009-12-09 Thread Eric Zhong
i kill the bug, the id must different from the function name http://jsbin.com/ujota3 2009/12/10 Eric Zhong > I just add a pair of "form" label in my code, it doesn't work !!! > > In my project I was called the js file, but in order to show clearly, I put > them

[jQuery] The most incredible thing happened

2009-12-09 Thread Eric Zhong
I just add a pair of "form" label in my code, it doesn't work !!! In my project I was called the js file, but in order to show clearly, I put them together,and Shortened the code Error: http://jsbin.com/oyeki OK: http://jsbin.com/iviba3

Re: [jQuery] Re: Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-08 Thread Eric Zhong
long time too. Thank You !!! 2009/12/9 Michael Geary > Hi Eric, > > Please forgive me for not explaining clearly. > > Here is what I meant by a "test page": post your HTML page on a website > somewhere and give us the URL to that page. Then we can click the link and

Re: [jQuery] Re: Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread Eric Zhong
} }); }); --> 2009/12/8 seasoup > javascript cant read strings over line breaks. > > $("#tb_video").append(' \ > >

[jQuery] The target HTML code works very well, but append() not !!!

2009-12-07 Thread Eric Zhong
when you run the code below, you'll get a very strange result. But if you run the target html that be commented, it works very well , what happen ??? Help!!! = http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ jquery.

[jQuery] Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread Eric Zhong
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ jquery.js">