> This still gets borked if the user has the file in cache though, I
> think.
I've never heard of this before - putting your code at the end of a
body is a foolproof way to do it. Having the event fire early in IE6
has to do with how the server is configured (if it's a long page and
'chunking' is
Are you trying to do something like this?
http://www.commadot.com/jquery/faq.php
I can think of a few ways to make your code more jQuery-ish.
Glen
On Nov 25, 2007 6:00 PM, befidled <[EMAIL PROTECTED]> wrote:
>
> I've currently got a list where each list element fades in a
> corresponding div wh
> I thought the cascading selectors would have chosen the dp_properties
> class that is the first child level of the selected div. . .not the
> dp_properties class buried two levels down (but appearing first in the
> DOM listing).
jQuery selectors work pretty much the same way they do in CSS.
Th
That code is a bit hard to read
I would have written the html to be more semantic, instead of using
lots of div tags.
Still, the exact code if that was in css should be
div div div div.dp_properties - so you can see why it reads a bit
confusing.
I like the idea of defining a tag and usin
I've currently got a list where each list element fades in a
corresponding div when clicked. It's set to toggle so that it will
fade out the same div when clicked again. I've set it up to also hide
all divs so that they don't overlap each other.
my code is below...my question is, is there a more
Many of us know here that making jQuery run on the right time has been
a bit of a hassle in the past, mainly due to how document.ready is
interpreted differently, and sometimes jQuery can fire when the DOM
isn't complete - so , all that nice jquery code you have will not be
able to work correctly.
Why does the code below show the values for the two alerts to be:
bilbo and layout_1 ?
I would have expected: bilbo and bilbo.
I thought the cascading selectors would have chosen the dp_properties
class that is the first child level of the selected div. . .not the
dp_properties class buried two
I think you guys are cool. I really appreciate that you guys are
spending your time helping others like this. I hope you get some
reward for this other than seeing people communicating more
effectively on the 'net.
Anyway, I read the " Why do my events stop working" FAQ 3 or 4 times,
read the "
I ran into this error today and realized i had the ease method spelled
wrong (had 'easeOutBonce' <- no "u")
Fixing the misspell got rid of the error that is in the subject line
of this thread :-)
On Nov 9, 10:28 am, George GSGD <[EMAIL PROTECTED]> wrote:
> Can you give me some example
The way you've described it, if you want to have the same name on two
elements, you might be using a class instead of an id.
instead of content try content - which will freely let you use it
multiple times safely.
On Nov 24, 4:07 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On Nov 23, 4:
The jquery.com suggest a feature would not let me login. So I am
posting it here. I added focus/blur event handling to cluetip. So it
can be used in conjunction with forms or other elements that you might
not want to hover or click.
added to: jquery.cluetip.js
=BIND EVENTS
--
Hi,
I hope somebody can help me. I'm trying to write a function which will
tick every checkbox in a column when you tick the checkbox in the
header.
The plan is to attach an evetn to every checkbox in the header which
when you check it will find the column bumber of the cell it is in and
plug th
If anybody's interested, here's what I came up with:
$('#billing input').each(function(i) {
$(this).val( $('#shipping input').eq(i).val() );
});
Works like a charm.
Thanks Klaus - worked perfectly.
On Nov 23, 9:34 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On 23 Nov., 12:39,sukhminder<[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Tabs are not loading on the first click. I have a link which is like:
>
> > Headlines > li>
>
> > when user clicks on this it calls th
Actually, here's the whole thing for context:
$('input#same').toggle(function() {
$(this).attr("checked", "checked");
$('#billing input').attr("disabled", "disabled");
$('#billing input').each(function(i) {
$(this).val( $('
Hello,
I'm looking for a snippet of code or a plugin that will give me the
current position of the cursor within a textarea.
Does anyone have one that they can share?
Heh.. didn't mean to double post, just when I posted first it didn't
update for a while so i thought I did something wrong :\
On Nov 25, 2:12 am, Austin Pickett <[EMAIL PROTECTED]> wrote:
> Thanks for the link, I checked it out however what they gave had no
> effect on me :\
> Alright, I'll post
Hi Erlend,
Thanks to give me the attention to iframe possibility in question
about Flash. I´ll analise it in future versions.
The preloading image is normal. I didn´t alter it.
An option to turn off the effects is comming too :)
Regards
On Nov 19, 2007 10:43 AM, Erlend Schei <[EMAIL PROTECTED
Hi Marco,
Your host's server needs to support gzip or mod_deflate in order to
get the benefit of that small file size. The jquery.com home page
links "Minified and Gzipped" to a blog entry by Julien LeComte, which
explains the gzip thing:
http://www.julienlecomte.net/blog/2007/08/13/
--K
You could try something like this:
$('someListItem').click(function() {
$('#cluetip').hide().removeClass().children().empty();
});
Replace "someListItem" with the actual selector you need.
Let me know if this works for you.
--Karl
_
Karl Swedberg
www.englishrules.com
www.lea
jQuery page allows us to download jQuery minified and Gzipped with
14.1kbusing this link:
http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.min.js
But after download it that plugin haves 46kb.
John, what's wrong?
Cheers
Marco Antonio
The jQuery $ "function" returns a "wrapper" type object, which acts
like an array, even if there's only one object in it.
So you can do:
sel = $('#product_id_01');
sel[0].options.length = 0;
Karl Rudd
On Nov 26, 2007 6:33 AM, kitsched <[EMAIL PROTECTED]> wrote:
>
> I was trying to populate a s
Thanks, Benjamin.
Rick
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Benjamin Sterling
Sent: Sunday, November 25, 2007 2:57 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Problem with jquery toggler conflicting with another
jquery script
Rick,
Looks
yeap, your site is down, but i've found hoverIntent.js in jquery's SVN
repository (i think jquery ui use it, but not sure, i've used windows'
search, and didn't browse the sources).
great plug-in, thanks!
i am using clueTip with ajax to grab a list from a db. i would like
the clueTip to close when the user selects an item from the list. i'm
guessing there is an easy way to do this, but i've tried for a while
now without any success. i tried calling cluetipClose() with the
onclick event, but sinc
> == Desired result:
> I want a html file to be loaded into a div element. When the file is
> injected, I want it to fade in.
Also, if you want to bind events/handlers to any elements in the html
file you've just loaded, check out the livequery plugin:
http://brandonaaron.net/docs/livequery/";>
Gordon wrote:
> I'm not sure but I believe that xpath might have been moved from the
> core in 1.2 to a plugin, on the grounds that most people use CSS
> selectors.
>
Is true. http://docs.jquery.com/Release:jQuery_1.2
--
Steve Clason
Boulder, Colorado, USA
(303) 818-8590
Hello,
I'm working on a user profile page that has fields for shipping
address and billing address, with a checkbox that says, "Same as
shipping?" You know the kind... where instead of filling out the
billing address, it autopopulates from the shipping fields you just
filled out.
What would be
I was trying to populate a select's options when I noticed that I can
use:
sel = document.getElementById('product_id_01');
sel.options.length = 0;
but I can't use:
sel = $('#product_id_01');
sel.options.length = 0;
If anyone could provide a short explanation I'd be really grateful.
Thank you.
Rick,
Looks like you can get that menu from
http://youngpup.net/projects/transmenus/
On 11/24/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
>
> Hi, Robert (is it Robert?)
> (Seems a little strange to say hi to "quik3r"...but, whatever...)
>
> Anyway, I'm sorry I don't know enough about JS or jQu
I am using jeditable plug and it's working well but i am stuck with something
i need to do.
basically, i need to dynamically update the submitdata attribute of various
editable text inputs according to events happening on the client.
specifically, the user clicks on different thumbnails, and the
It appears my web site is down (at least for me). I added a "release" zip
file to the jquery plug-in page for hoverIntent, but it's not showing up now
that I've logged out (not sure what's going on with that). Let me know if
you need the code for hoverIntent... I'll send you a zip file.
Brian.
On
$("#text-to-show") . load("text_to_show.htm", function(){
// the callback when the htm file is loaded
$(this).fadeIn();
});
That should do you; note: you may need to give #text-to-show a style of
display:none to start out.
On 11/25/07, Monkeytail <[EMAIL PROTECTED]> wrote:
>
>
> == Desired resul
i've missed that one, thank you! you saved me lot of gray hairs :)
On Nov 25, 12:24 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> You might want to look into using the hoverIntent plugin
> ...http://jquery.com/plugins/project/hoverIntent
>
> On Nov 24, 9:46 pm, krcko <[EMAIL PROTECTED]> wrote:
>
> > H
== Desired result:
I want a html file to be loaded into a div element. When the file is
injected, I want it to fade in.
== Problem:
I am a rookie when it comes to jQ (and js). I can't figure out how to
extend the onload function with the fadeIn effect.
== This is my jQ code:
$(document).ready(fu
On Nov 25, 2007, at 10:22 AM, Mike Alsup wrote:
Do I have to somehow reinitialize the jQuery Form Plugin to recognize
the returned form?
Sort of, but the other way around. You need to bind the new form
after it is inserted into the DOM.
Hi Geoff,
See this FAQ item for more details:
htt
Hehe. Glad you're awake now. :-)
--Karl
On Nov 25, 2007, at 11:04 AM, Benjamin Sterling wrote:
I knew that Karl, just seeing if you were paying attention. ;)
I totally forgot I was doing that, guess that is what I get when
trying to code with very little sleep. Thanks.
On 11/25/07, Karl
I knew that Karl, just seeing if you were paying attention. ;)
I totally forgot I was doing that, guess that is what I get when trying to
code with very little sleep. Thanks.
On 11/25/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 25, 2007, at 9:08 AM, Benjamin Sterling wrote:
>
> Kar
Well .. I found out this happens even without jQuery, one _has to_
refresh the website to clear the RAM.
Eric
On Nov 25, 2007, at 9:08 AM, Benjamin Sterling wrote:
Karl,
That is what I expected get too, just needed to clarify.
If you just want to select table cells, why not do $
('td:contains(Cell)') ?
I am doing an article on selectors and selector speeds and was
experimenting on what approach i
> Do I have to somehow reinitialize the jQuery Form Plugin to recognize
> the returned form?
Sort of, but the other way around. You need to bind the new form
after it is inserted into the DOM.
You should not be using ajaxSubmit and ajaxForm together. Pick one or
the other. In your case you should drop ajaxForm and use ajaxSubmit
like this:
function submitme() {
$('#wizard1').ajaxSubmit({
target: '#output1'
});
return false;
}
Mike
On Nov 24, 2007 11:50 PM, Geo
Thanks for the link, I checked it out however what they gave had no
effect on me :\
Alright, I'll post the code of which I'm actually working with.
$(document).ready(function() {
$('.show_comments').click(function(){
$('#showdiv').slideToggle('fast');
});
});
That's all it is
Hi,
This probably is closer to just being a plain Javascript question,
but since I'm using jquery to wrap it, I figured I'd ask it here.
I'm using the hover( fn,fn1) function to bind the hover event to my
table's TR elements upon page, load by using ready().
The HTML itself actually specifies
Hi Jörn,
thanks your reply and great works.
On 11月25日, 上午3时01分, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Hi Jack!> can jquery.validate use custom validator? And another problem is
> about
> > email validator,it can't pass validate with my email address
> > [EMAIL PROTECTED] exactly validate
I have a form that is submitted via the jQuery Form Plugin to a PHP
page which then returns another form in its place. The second form
looks identical to the first however this second form will not submit
via the jQuery Form Plugin.
It's as if the jQuery Form Plugin script at the top of the orig
HI Karl,
That is exactly the answer i was looking for.
Thank You
On Nov 24, 5:49 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Jon,
>
> You're almost there! What you want is to add a class to every td that
> is the first child of its parent. Using td:first will select only the
> very first
How interesting, the form submits, and the AJAX is returned (I can see
it in FireBug) but not in the DIV tags. It appears that using a
function to submit the form breaks the jQuery Form Plugin.
Example at the below link. Click on the "dial up" button to submit
the form.
http://mammoth.t1shopp
Hrm, Thanks for the link, I gave it a try didn't help me much, but
essentially this is the only problems I encounter:
$(document).ready(function() {
$('.show_comments').click(function(){
$('#showdiv').slideToggle('fast');
});
});
Is the code, and it works fine in FF however i
> Obviously, that was only a simple example. The more general case, wanting to
> bind some event handler to a selector regardless of when it appears on the
> page, is extremely common. So again, I'm trying to understand why the rate
> of adoption has been so slow. Any thoughts?
I've been using jQ
Austin,
Do you have a test case for us to look at? Also, you can test for most
issue in Opera since they are using the same javascript engine as ie7, I am
finding this to be a huge help.
On 11/24/07, bingo <[EMAIL PROTECTED]> wrote:
>
>
> hi Austin,
>
> I am not sure what's the problem..but make
Hi,
when i try to initialize idTabs on successful ajax request it fails in
IE6, but works in FF2, Opera 9 and Safari for Windows. Anyone else had
such problem? Is there a solution?
Thanks in advance.
Karl,
That is what I expected get too, just needed to clarify.
If you just want to select table cells, why not do $('td:contains(Cell)') ?
>
I am doing an article on selectors and selector speeds and was experimenting
on what approach is faster[1] and when I got to this selector, I would have
exp
You might want to look into using the hoverIntent plugin ...
http://jquery.com/plugins/project/hoverIntent
On Nov 24, 9:46 pm, krcko <[EMAIL PROTECTED]> wrote:
> Hi to all, i'm having problems with fade in/out animation. I have
> buttons and i want to make hover fade-in effect.
>
> this is html:
I'm not sure but I believe that xpath might have been moved from the
core in 1.2 to a plugin, on the grounds that most people use CSS
selectors.
On Nov 24, 10:25 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I find something strange in last release. Xpath expressions doesn't
> work
> For e
55 matches
Mail list logo