as does this:
http://pastebin.com/m58a02ab3
On Sat, Sep 12, 2009 at 10:05 AM, Charlie Griefer charlie.grie...@gmail.com
wrote:
These both work for me:
http://pastebin.com/m3701f681
http://pastebin.com/m62f8b24b
On Sat, Sep 12, 2009 at 9:58 AM, Matthew Rolph marine.ro...@gmail.comwrote
All 3 of the samples I pasted above (the pastebin links) work in FF3.5 (on
OS X)
On Sat, Sep 12, 2009 at 5:07 PM, Matthew Rolph marine.ro...@gmail.comwrote:
it's still not working right so i'm getting safari and seeing if that works
out
On Sat, Sep 12, 2009 at 1:10 PM, jhm jmay...@gmail.com
Have a look at live()
http://docs.jquery.com/Events/live
Binds a handler to an event (like click) for all current - and future -
matched element.
Basically, when you add elements to the DOM dynamically after page load,
jQuery won't recognize those elements unless the live() method is used.
On
In 1.3 the @ was deprecated.
see http://docs.jquery.com/Release:jQuery_1.3 under Changes
now you just want $(form[name='adminform']).submit();
On Wed, Sep 16, 2009 at 9:03 PM, tongkienphi tongkien...@gmail.com wrote:
Hi every body.
In my porject use jquery version 1.2.4, but this version
Pretty sure you need single quotes around bar.
alert($(input[name='bar']).val());
On Thu, Sep 17, 2009 at 1:27 AM, pritisolanki pritiatw...@gmail.com wrote:
Thanks Ralph.
I tried following
alert($(input[name=bar]).val());
and rather then showing it's value it alert undefined ??? why?
is a variable)?
Thanks!
Charlie
On Thu, Sep 17, 2009 at 9:06 AM, Karl Swedberg k...@englishrules.comwrote:
On Sep 17, 2009, at 5:13 AM, Charlie Griefer wrote:
Pretty sure you need single quotes around bar.
alert($(input[name='bar']).val());
No. The single quotes are unnecessary.
On Thu, Sep
Hi Karl:
That clears it up completely. Thanks!
Charlie
On Thu, Sep 17, 2009 at 10:43 AM, Karl Swedberg k...@englishrules.comwrote:
Hey Charlie,
It all comes down to the way the string is parsed. The Sizzle selector
engine uses a Regular Expression to detect whether an attribute selector
if it can be done (and
how) :)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
'));
return false;
});
});
a href=# id=myIDshow details/a
That's a fairly simplistic example. The example in the docs shows how you
can store complex data using JSON.
Would something like that work?
Charlie
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much
accept link was clicked.
Can anyone help?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
know if that is the cause. I
did try it on a static page and it still did nothing though.
On Sep 24, 12:36 pm, Charlie Griefer charlie.grie...@gmail.com
wrote:
$('a.accept').click(function() {
alert($(this).closest('tr').attr('id'));
--
Charlie Grieferhttp://charlie.griefer.com/
I
).load('list.php',{type:
'pending'}).show(600);
$('#description').html(pending);
});
To load the tables.
On Sep 24, 12:59 pm, Charlie Griefer charlie.grie...@gmail.com
wrote:
Steven:
It seems to be working here (quick sample thrown together):
http
On Thu, Sep 24, 2009 at 2:03 PM, a1anm alanmoor...@gmail.com wrote:
Hi,
I have an unordered list and I would like to use Jquery to add some
li's to it.
How do I do this?
Thanks!
http://docs.jquery.com/Manipulation/append
--
Charlie Griefer
http://charlie.griefer.com/
I have failed
\/2FE2D3BDF4FB443D949D1D39B69ADC03.gif],PlayerCollege:[Cal
Poly]}}
...which when pasted into JSONLint returns valid.
If anyone has any ideas, or if there's any additional information that I can
provide, I'm all ears.
Thanks!
Charlie
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded
that essentially do the same thing. Especially if one is near
impossible to debug.
Thanks,
Charlie
On Fri, Sep 25, 2009 at 11:58 AM, MorningZ morni...@gmail.com wrote:
I'd suggest using the more generic $.ajax method so you can actually
catch the error, as the $.getJSON fails silently, which
this text fields without using a class, something
like:
$(tx_qtde * )
where the * is the numbers.
Thanks for your time.
Carlos Santos
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind
, that would solve
it, though I think the issue is technically deeper than that quick fix.
--
Scott * If you contact me off list replace talklists@ with scott@ *
On Sep 26, 2009, at 8:10 AM, Charlie wrote:
I posted this issue into Google Groups help forum yesterday, only response
so far group
list archive at Nabble.com.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
.
On Mon, Sep 28, 2009 at 12:34 PM, lionel28 lmarte...@haitiwebs.net wrote:
Charlie,
Thank you very much.
I was able to do a split so I get actual value from your code and all is
fine.
I do whatever I want with php, but could you recommend a book for
Javascript.
Example: for the split I had
Incidentally... not sure why you'd need to use split() for your needs
there? Could you post some code or explain what your requirement is? You
may be going about it the long way (or I may be misunderstanding what you're
trying to do) :)
On Mon, Sep 28, 2009 at 12:42 PM, Charlie Griefer
to the end of the link.
I've used Firefind to verify the css selector in the css, and it applies to
the correct elements, but the icon doesn't show up.
Is there anything I need to do after loading the dynamic content to apply
the css?
Sloan
--
Charlie Griefer
http://charlie.griefer.com/
I
much.- Hide quoted text -
- Show quoted text -
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
me
trouble
});
});
I am wondering if it is legal to use a variable within the filter - if
I replace it with an actual ID value it works fine, but when I
substitute the variable name nothing happens.
I am sure I am doing something dumb! Thanks for any suggestions.
Roi
--
Charlie
it
work?
$('input#test').val($('input#test').val().replace(/,/g,''));
and ... how do i calll it?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
and understand
On Sep 29, 8:49 pm, Charlie Griefer charlie.grie...@gmail.com wrote:
$('#test').blur(function() {
$(this).val($(this).val().replace(/,/g,''));
});
You call it by telling jQuery to listen for the blur() event on the
element with id=test (line 1 above).
Your code
$(document).ready(function(){
$(#test').blur(function () {
$('#test').val($('#test').val().replace(/,/g,''));
});
});
/script
On Sep 29, 9:17 pm, Charlie Griefer charlie.grie...@gmail.com wrote:
jQuery is based on find something - do something. The find
something
is largely
, Charlie Griefer charlie.grie...@gmail.com wrote:
Because it's completely new to you is exactly why you should be reading
the
docs :)
Does the code below run?
On Tue, Sep 29, 2009 at 1:27 PM, factoringcompare.com
firstfacto...@googlemail.com wrote:
Thank you. JQuery
and slides as well as fading between images – this one is
done in Flash. We often use the Cycle plugin for a fade-between set of
images but is there a plugin to do something like the above, or can the
Cycle plugin be made to do it?
Regards,
Michael Price
--
Charlie Griefer
http
that as well?
Do I create a javascript file and somehow link the Jquery file to that
javascript file?
I guess I would need a step by step walkthrough on how to set up
Jquery using all external files.
thanks in advance guys
--
Charlie Griefer
http://charlie.griefer.com/
I have failed
or via a
linked .css file).
On Wed, Sep 30, 2009 at 7:59 PM, Glen_H glen.f.he...@gmail.com wrote:
Charlie, thanks for the feedback. A million times thank you! that is
exactly what I was looking for.
One other question I have is altering CSS using .css in Jquery, will
that auto select any
, 11:05 pm, Charlie Griefer charlie.grie...@gmail.com
wrote:
As with including an external .js file, including an external .css file
is
not functionally different than including it on the page. The included
css
will affect any applicable element(s) on the page.
When you manipulate
database}/div/li
/ul
Could I hide the whole li id=item/li if their is nothing
available to show from the database in div id=database ?
Thanks in advance for your help
Jack
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love
PM, Charlie Griefer charlie.grie...@gmail.com
wrote:
If you're working with server side data like that, couldn't you just write
a conditional in whatever language you're using (PHP, CF, ASP, etc) to not
display the li if no data?
Also, do you really mean to re-use database as an ID
this one) :)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
()) == '')
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
() {
$('.keyword_type_A').show();
$('^li.keyword_type_A').hide();
// $('div:not('.keyword_type_A')').hide();
});
});
but it's not work. Please help.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I
with id=newUser
The docs really should be the first place you look for questions like this.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
for document.getElementById('foo'). Much more
concise.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
,
Chris
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
(there is none). You're referencing by ID, so you want
to preface the ID with a # sign (similar to CSS).
$('#first_name1').val($('#first_name').val())
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my
();
});
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
back in the day that
it's better to not use an onclick on a submit button, but rather the
onsubmit on the form itself.
Maybe somebody on the list can elaborate on that... but either way should
give you the results that you're looking for.
--
Charlie Griefer
http://charlie.griefer.com/
I have
://docs.jquery.com
Is there a specific piece that you're having trouble with? What have you
tried so far and what obstacles are you encountering?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
- and future - matched element. Can also bind custom events.
Note the and future. Out of the box, jQuery events won't be bound to
elements that were added to the DOM after the page has loaded. To do this,
you need to use live().
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much
to have it appear at the top. What I have adds it to the
very bottom of the list. How can I have it appear at the top of the list?
Thanks
Dave
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind
--
*From:* Charlie Griefer [mailto:charlie.grie...@gmail.com]
*Sent:* November-04-09 1:35 PM
*To:* jquery-en@googlegroups.com
*Subject:* Re: [jQuery] Append Help
shot in the dark here... but prependTo()?
On Wed, Nov 4, 2009 at 9:01 AM, Dave Maharaj :: WidePixels.com
d...@widepixels.com
, delimited by
the '/' character
var myNumber = arr[arr.length-1];
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
it is.
Either way, $('#myDiv').addClass('className'); or
$('#myDiv').removeClass('className') should be all you need.
If those aren't working out, seeing some code would go a long way towards
helping to troubleshoot.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I
, actually).
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
=xyz]')
$('form[class=blah]')
$('form#xyz')
Is there a specific question here?
On Mon, Nov 9, 2009 at 2:33 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
then...
what alternative have?
thank´s
*From:* Charlie Griefer charlie.grie...@gmail.com
*Sent:* Monday, November 09, 2009 7
I want that 10 minutes of my life back... :\
On Mon, Nov 9, 2009 at 2:47 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
ok.
thnks´ i treid it.
*From:* Charlie Griefer charlie.grie...@gmail.com
*Sent:* Monday, November 09, 2009 7:41 PM
*To:* jquery-en@googlegroups.com
/jQuery.getJSON#urldatacallback or (well, you get
the point).
Point being... you should be able to fire your alert as part of the callback
function :)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind
(function(){
$(select[name=number2]).val(
$(this).val()
);
});
If the change event doesn't do it for you, take a look at .click()
or .blur().
change() oughtta do it. What you have there should work perfectly.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I
the non-js page
with additional functionality. That is generally the cleanest way of
making sure that your content is accessible, available to search
engines, and still has all your cool dynamic behavior for those with
JS on.
-- Scott
--
Charlie Griefer
http://charlie.griefer.com/
I have
look alike print out)
Thank you in advance!
AFAIK, the browser addons are local user preferences, and I don't think
they can be manipulated via code.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my
On Tue, Nov 17, 2009 at 6:56 PM, runrunforest craigco...@gmail.com wrote:
Can make b behave as a ?
For exmaple, I have bHome/b, I want to go to homepage when i click
b.
Why would you not just use CSS to style an a element to be bold and not
underlined?
--
Charlie Griefer
http
=7Denied/option
option value=8Duplicate/option
option value=9Completed/option
option value=10Needs more information/option
/select/p
div class=textfield1
labeltest
input type=text name=text id=text /
/label
/div
--
Charlie
What version of IE?
Define break?
On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
I’m having trouble with IE
This code seems to break in IE
var cssString= label.error{left:+leftOffset+px;};$('head
style').text(cssString);
--
Charlie
. The
only fire bug error I get is Reload to activate window console although IE
has a message saying error on page
On 11/19/09 2:35 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
What version of IE?
Define break?
On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah
sarah.atkin
, 2009 at 11:45 AM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
Yes In the function that this bit of code resides
On 11/19/09 2:43 PM, Charlie Griefer charlie.grie...@gmail.com wrote:
leftOffset is a variable you're defining somewhere?
On Thu, Nov 19, 2009 at 11:39 AM, Atkinson
http://docs.jquery.com/Selectors/not
On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah
sarah.atkin...@cookmedical.com wrote:
What is the opposite of :checked?
Is it :unchecked? Or would you use the not (!)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have
-Bibeault/dp/1933988355/177-2519159-8655561?SubscriptionId=1SDRSQH20CF1ZSXE6Y02
http://www.amazon.com/Learning-jQuery-1-3-Jonathan-Chaffer/dp/1847196705/ref=pd_bxgy_b_text_b
http://jqueryenlightenment.com/
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I
/p
p class=firstB/p
p class=firstC/p
p class=firstD/p
p class=firstE/p
hr /
p class=secondF/p
p class=secondG/p
p class=secondH/p
p class=secondI/p
p class=secondJ/p
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife
Hi Karl:
Awesome! Got it :)
Thanks for the explanation and examples.
Charlie
On Fri, Dec 4, 2009 at 9:01 AM, Karl Swedberg k...@englishrules.com wrote:
Hey Charlie,
methods such as .click() and .mouseover() are just convenience methods.
They all use .bind() internally. One nice thing
Thanks all. I appreciate all the responses and examples. Really helps out
a lot.
Charlie
On Fri, Dec 4, 2009 at 11:34 AM, seasoup seas...@gmail.com wrote:
Got two more uses for ya. Namespacing of events:
// set two click events with different namespaces
$('.button').bind
() {$(.testing).fadeOut
(slow);}, 500);
});
});
/script
div class=testing style=display: none;this is my dynamic created
content /div
Thank you in advance.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
read http://docs.jquery.com
search amazon for jQuery. there are a few books.
On Tue, Dec 8, 2009 at 2:24 AM, police atharikmoha...@gmail.com wrote:
hi guys, i am interested learn j query, how to learn, can u send any
easy way to learn site?
--
Charlie Griefer
http://charlie.griefer.com
are very frustrating to work with and I don't like you now.
PLEASE UNSUBSCRIBE ME!!
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
items allowing the user to select and edit the items.
Is there a way to attach events to any list item in the UL without having
to explicitly apply it to each item?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife
Show us yours, first :)
On Thu, Dec 10, 2009 at 6:32 AM, jnf555 johnfrearson...@btinternet.comwrote:
hi
i am trying to ceate a page where one image fades in over another int
the same position
can anyone show me the code
thanks
jnf555
--
Charlie Griefer
http://charlie.griefer.com/
I
.
Thanks, - Dave
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
of doing this?
As far as I am aware, yes... checking the length property is the way that
I've seen it done.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
(){
$(this).attr('bgColor','green');
});
}
});
});
/script
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
);
})
})
})
and its not working. Its set to work when a select is changed by
user and it should then get data back from ajax.php which is sending
the data fine. But no alert is coming up and it seems its not working.
Please help.
Thanks.
--
Charlie Griefer
http://charlie.griefer.com/
I have
with the br / alone (removing the asterisk).
Disclaimer: I'm no regex guru, so if anyone sees a way to clean up that
expression, please feel free.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind
wrong or right. But I am saying
you shouldn't have -had- to do that :)
Anyway, glad you got it working. That's the important bit :)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
On Tue, Dec 22, 2009 at 10:40 AM, Charlie Griefer charlie.grie...@gmail.com
wrote:
On Tue, Dec 22, 2009 at 10:34 AM, Mike Walsh mike_wa...@mindspring.comwrote:
[ ... snipped ... ]
Thanks for pointing me in the right direction. This is what I ended
up getting to work:
jQuery
since i was afraid that i might ruin the code.
What is the solution for this problem?
Thank you
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
$('a[title=blog]')
On Wed, Dec 23, 2009 at 8:30 AM, Janmansilver jan.poul...@gmail.com wrote:
I have to add som jquery magic to a link where the only unique
identifier is the title-atribute?
my code:
a title=Blog href=/blog
How do I target this via Jquery?
--
Charlie Griefer
http
would I go about send all of my checked checkboxes with the class
of filter via ajax?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
, it looks like .add() only accepts selection
strings which in my example would work but in what I really need to do
I have no selection string which would find the specific jquery
objects.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my
to to jquery object is if you use a selector.
Sso I want to do more like :
$(div).css(border, 2px solid red)
.add($(this).children()) //see how this line is different
.css(background, yellow);
On Dec 23, 12:50 pm, Charlie Griefer charlie.grie...@gmail.com
wrote:
As per
that ? For example when first checkbox
will be unchecked or second will be checked. Could You help me ?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
).
On Dec 28, 1:17 am, Charlie Griefer charlie.grie...@gmail.com wrote:
You just want the value of the one that's checked?
$(':checkbox[name=number]').click(function() {
if ($(this).is(':checked')) alert($(this).val());
});
if you want the total of all checked boxes when one
on it?
--
View this message in context:
http://old.nabble.com/How-to-gain-reference-to-hyperlink-that-is-clicked-tp27026713s27240p27026713.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have
On Tue, Jan 5, 2010 at 1:10 PM, Scott Sauyet scott.sau...@gmail.com wrote:
On Jan 5, 3:43 pm, Charlie Griefer charlie.grie...@gmail.com wrote:
Within the function triggered by the click event, $(this) or this are
both
references to the element that triggered the click.
More precisely
($
('#'+'parentdiv'+counter));
but when i try to do this
$(.ws_c1.plus).click(function() {alert('test');});
It works on other child div's but not on the appended div's. I've also
tried with Id's.
can you plz help me.
regards,
--
Charlie Griefer
http://charlie.griefer.com/
I have failed
://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
/script
Add the line above, and jQuery is installed. Go nuts :)
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
with it, now?
--
Charlie Griefer
http://charlie.griefer.com/
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
701 - 790 of 790 matches
Mail list logo