[jQuery] function gt() is not working for me

2009-08-04 Thread Julio Cesar
for all $('.field').gt(0).val('y'); //assing value for fields 2 and 3 }) /script /head body 1input type=text class=field / 2input type=text class=field / 3input type=text class=field / /body /html /pre/code Any one can explain me what is happend? ...this is a bug or I missed something? thanks Julio

[jQuery] Catch generic events

2009-03-30 Thread julio
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

[jQuery] bind and one to avoid event-bubbling

2007-11-15 Thread julio
is another? Thanks, Julio

[jQuery] cannot retrieve elements with xpath

2007-09-26 Thread julio
/ img myattr=2 src=pic2.png / table myattr=3 tr myattr=4 td myattr=5test/td /tr tr myattr=4 td myattr=5test/td /tr /table /body /html and I would like hide elements retrieved via xpath like in script/. But it doesn't work Why? Have you any idea? Thanks, Julio

[jQuery] Re: cannot retrieve elements with xpath

2007-09-26 Thread julio
: $(function () { $(//[EMAIL PROTECTED]'2']).hide(); $(//[EMAIL PROTECTED]'3']).hide(); }); Making this change works. On Sep 26, 10:45 am, julio [EMAIL PROTECTED] wrote: Hi, I have this simple html page: html headtitleA test page/title/head script type=text/javascript src

[jQuery] Re: cannot retrieve elements with xpath

2007-09-26 Thread julio
://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() { and $(document).ready(function() { but nothing works I'm using firefox 2.0.6 On 26 Set, 13:33, Remy Sharp [EMAIL

[jQuery] Re: cannot retrieve elements with xpath

2007-09-26 Thread 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 downloaded plugin and renamed it I

[jQuery] Apply xpath-evaluate in an iframe document

2007-09-18 Thread julio
Have you any idea how to fix it (for Firefox and IE 6-7 at least)? Thanks, Julio

[jQuery] Re: Apply xpath-evaluate in an iframe document

2007-09-18 Thread julio
is: .selected { 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

[jQuery] get absolute xpath of an element

2007-09-04 Thread julio
)' ); } how can I get absolute xpath of 'var element'??? Thanks, Julio

[jQuery] Append-tag problems in IE7

2007-08-13 Thread julio
)[0]; but it doesn't work. Have you any idea? I don't know if it's a jquery problem or my mistake. Thanks, Julio

[jQuery] Re: Iframe events for local pages

2007-08-08 Thread julio
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

[jQuery] Re: Iframe events for local pages

2007-08-08 Thread julio
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 Aug 8, 10:32 am, julio [EMAIL PROTECTED] wrote: Ok thanks

[jQuery] Re: Iframe events for local pages

2007-08-08 Thread julio
); element.addClass('hover'); }) it works only if i put link rel=stylesheet href=filename.css above in sample.html (or class above in style /) is it possible create and load a class dinamically with jquery avoiding to modify sample.html??? Thanks, Julio

[jQuery] Iframe events for local pages

2007-08-07 Thread julio
is it possible catch (for example) a mouse-click on an element of sample.html in main.html without modify sample.html above with jquery I have tried many times and ways without success. Can you help me? Thanks, Julio

[jQuery] Re: Iframe events for local pages

2007-08-07 Thread julio
idea what's wrong?? Thanks, Julio