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
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
is another?
Thanks,
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
:
$(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
://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
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
Have you any idea how to fix it (for Firefox and IE 6-7 at least)?
Thanks,
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
)' );
}
how can I get absolute xpath of 'var element'???
Thanks,
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
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
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
);
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
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
idea what's wrong??
Thanks,
Julio
16 matches
Mail list logo