Sounds good to me. Thanks everyone for the help.
Cheers
Anthony
On Jun 18, 9:15 am, John Resig wrote:
> Anthony -
>
> I've noted the ticket that you filed in my personal todo list. It
> doesn't seem too hard to fix so hopefully I'll be able to tackle it
> soon.
>
> --John
>
> On Wed, Jun 17, 200
Trying to add live click event to links that have :not in the selector
in FF3 produces unresponsive script at line 1441, kills IE7.
jQuery('a:not([href^="#"][href^="javascript"]').live('click', function
() {});
--~--~-~--~~~---~--~~
You received this message becaus
Anthony -
I've noted the ticket that you filed in my personal todo list. It
doesn't seem too hard to fix so hopefully I'll be able to tackle it
soon.
--John
On Wed, Jun 17, 2009 at 5:54 PM, vdhant wrote:
>
> This fix worked great.
> So how do we go about raising a bug for this so it gets fixe
This fix worked great.
So how do we go about raising a bug for this so it gets fixed in the
next release?
As I mentioned I have more than a little trouble trying to raise it
myself.
Cheers
Anthony
On Jun 17, 5:31 pm, Daniel Friesen wrote:
> (function(oldVal) {
> $.fn.val = function(value) {
Ok... It makes sense.
Thanks!
On Jun 17, 5:22 pm, Daniel Friesen wrote:
> Rather than making events implied you should be using something like
> $(input).val(newValue).trigger('change');
>
> There's a good reason why input.value; doesn't trigger onchange events.
> Think if it this way. If you wr
http://dev.jquery.com/ticket/4388 Though I thought there was a bigger
master bug for this.
It's because of how for a long time jQuery has checked for "undefined"
arguments rather than checked for the length of the arguments.
As a result:
.css('width', undefined); would be interpreted as a css g
Rather than making events implied you should be using something like
$(input).val(newValue).trigger('change');
There's a good reason why input.value; doesn't trigger onchange events.
Think if it this way. If you wrote an onchange event which when the
content of and input which would take the v
Sorry if I am spamming the bug tracker by submitting this in both the
Dev list and the bug tracker, I didn't know it was the same people...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
T
Thanks for that Rick!
Yes, it works but this way is too heavy with the setInterval/
setTimeout: I need to do that on the fly, and I can have tens of
elements using this behavior.
Actually, I'd better explain what I am trying to achieve here: maybe
you're aware of an issue with IE6 where the SELEC
Take a look here:
http://jsbin.com/ayivo
I've commented the steps I took. Its a bit hackish but the behaviour is what
you're looking for. I'm sure a better way exists.
Rick
On Wed, Jun 17, 2009 at 8:01 AM, BaBna wrote:
>
> Hi,
>
> I would like to be able to trigger a function when the value
Hi,
I would like to be able to trigger a function when the value of a
hidden field is changed through val() - and I want this event to be
attached to the field itself, not to the val() action.
As events are only users' triggered a hidden field doesn't trigger
onchange natively. I have seen a lot
Daniel -
I'm not familiar with this issue - is there a ticket related to it?
--John
On Tue, Jun 16, 2009 at 11:11 PM, Daniel
Friesen wrote:
>
> Hmmm? Clarifying, has $(el).css('width', undefined).someOtherFnMethod();
> been fixed?
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.
Thanks ill give this a go...
On Jun 17, 5:31 pm, Daniel Friesen wrote:
> (function(oldVal) {
> $.fn.val = function(value) {
> if ( arguments.length )
> return oldVal.call( this, value === undefined || value ===
> null ? "" : value );
> else
> return oldVal.c
(function(oldVal) {
$.fn.val = function(value) {
if ( arguments.length )
return oldVal.call( this, value === undefined || value ===
null ? "" : value );
else
return oldVal.call( this );
};
})($.fn.val);
The best way to proxy a function to an old one is u
Hi guys
I am trying to do the following:
//Save a reference to the original init method
var valFunction = $.prototype.val;
//Create a new val method that handels nulls correctly
$.prototype.val = function(value) {
return valFunction(value || '');
};
But it comes
15 matches
Mail list logo