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
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
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
quot;#endorsementFeeAdjustmentDescription").val("");
//$("#endorsementFeeAdjustmentAmount").val("");
document.getElementById
("endorsementFeeAdjustmentDescription").value = '';
document.getElementById("endorsementFeeAdjustmentAmount").value
= '';
});
}
});
Thank you,
Eric
, but nothing conclusive. I see the DIVs show up in
Firebug. Could this be jquery related?
Thanks in advance!
Eric
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
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
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:
>
>>
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
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
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
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
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
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
}
});
});
-->
2009/12/8 seasoup
> javascript cant read strings over line breaks.
>
> $("#tb_video").append(' \
> >
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.
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/
jquery.js">