$('.field').val('x'); //assign value for all
$('.field').gt(0).val('y'); //assing value for fields 2 and 3
})
1
2
3
Any one can explain me what is happend? ...this is a bug or I missed
something?
thanks
Julio Cesar
sible instead catch a "generic" event and delegate externally
management?
For example:
$wnd.$(document).bind(function(type, event) {
// where type is a "string" for 'click' or 'mouseover', etc.
}
Thanks,
Julio
r this is not event-bubbling
problem and solution is another?
Thanks,
Julio
Using "develop" version of jquery 1.2.1 it doesn't work
but using version 1.1.4 (and so without plugin) it works
can be it considered a jquery 1.2.1 bug?
On 26 Set, 14:01, julio <[EMAIL PROTECTED]> wrote:
> I'm using (compressed) jquery version 1.2.1
> I have
;re using jQuery 1.2 or later, you need the XPath plugin. See
> here:http://docs.jquery.com/Release:jQuery_1.2#XPath_Compatibility_Plugin
>
> --Erik
>
> On 9/26/07, julio <[EMAIL PROTECTED]> wrote:
>
>
>
> > it doesn't work for me. I have used
>
> > $(function(
running before the DOM is ready:
>
> $(function () {
> $("//[EMAIL PROTECTED]'2']").hide();
> $("//[EMAIL PROTECTED]'3']").hide();
>
> });
>
> Making this change works.
>
> On Sep 26, 10:45 am, julio <[EMAIL PROTECTED]>
't work
Why? Have you any idea?
Thanks,
Julio
cted {
cursor: pointer;
border-width: 2px;
border-color: #FF00FF;
}
Have you any idea?
Thanks,
Julio
On 18 Set, 11:50, Christof Donat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > // not working
> > $(frameDocument).("//img").hide();
>
> Try $('img',frameDocument).hide();
>
> Christof
or called on incompatible Object"
Have you any idea how to fix it (for Firefox and IE 6-7 at least)?
Thanks,
Julio
order', '3px solid rgb(100, 22, 100)' );
}
how can I get absolute xpath of 'var element'???
Thanks,
Julio
yeah! it works! thanks!
On Aug 13, 9:45 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> You are getting the head tag correctly (heads is an array with one element),
> but the code probably ends up trying to set the innerHTML of a DIV in the
> current document (not the iframe) in order to convert
ave you any idea? I don't know if it's a jquery problem or my
mistake.
Thanks,
Julio
eads).append("");
Thanks,
Julio
er');
})
it works only if i put above
in sample.html (or class above in )
is it possible create and load a class dinamically with jquery
avoiding to modify sample.html???
Thanks,
Julio
alert('an element in frame
is clicked ' + event.target.innerHTML) })
}
Is there a "wrap" of jquery for above if/else? Or more generic
question, is there a "wrap" to get a iframe/frame in jquery?
I'm searching in jquery docs but I have not found anything again
On
ction(event) { alert('an element in frame
is clicked ' + event.target.innerHTML) })
}
it would be a kind of "addEventListener" (using jquery-bind).
On firefox 2.0.x it works but I suppose it's not good for explorer
because is present 'contentDocument.documentElement'
Have you any idea to make it "cross-browser"???
Thanks,
Julio
element = $(event.target);
element.removeClass('selected');
});
$(test).mouseover(function(event){
var element = $(event.target);
element.addClass('hover');
});
$(test).mouseout(function(event){
var element = $(event.target);
element.removeClass('hover');
});
}
have you any idea what's wrong??
Thanks,
Julio
have tried many times and ways without success. Can you help me?
Thanks,
Julio
18 matches
Mail list logo