Re: [jQuery] Once I've downloaded it...

2010-01-15 Thread Charlie Griefer
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.

Re: [jQuery] Sceptic about JQuery

2010-01-13 Thread Charlie Griefer
://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.

Re: [jQuery] click event is not working

2010-01-07 Thread Charlie Griefer
($ ('#'+'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

Re: [jQuery] How to gain reference to hyperlink that is clicked

2010-01-05 Thread Charlie Griefer
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

Re: [jQuery] Re: How to gain reference to hyperlink that is clicked

2010-01-05 Thread Charlie Griefer
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

Re: [jQuery] I would like to get value each time when one of these checkboxes will change status, how can I do that ?

2009-12-27 Thread Charlie Griefer
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.

Re: [jQuery] Re: I would like to get value each time when one of these checkboxes will change status, how can I do that ?

2009-12-27 Thread Charlie Griefer
). 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

Re: [jQuery] Latest JQuery File

2009-12-23 Thread Charlie Griefer
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.

Re: [jQuery] Targeting/selecting via the title atribute of a link?

2009-12-23 Thread Charlie Griefer
$('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

Re: [jQuery] Sending all checked checkboxes

2009-12-23 Thread Charlie Griefer
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.

Re: [jQuery] .add()

2009-12-23 Thread Charlie Griefer
, 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

Re: [jQuery] Re: .add()

2009-12-23 Thread Charlie Griefer
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

Re: [jQuery] Re: jQuery Selector Help

2009-12-22 Thread Charlie Griefer
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

Re: [jQuery] Re: jQuery Selector Help

2009-12-22 Thread Charlie Griefer
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.

Re: [jQuery] Re: jQuery Selector Help

2009-12-22 Thread Charlie Griefer
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

Re: [jQuery] simple code not working

2009-12-21 Thread Charlie Griefer
); }) }) }) 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

Re: [jQuery] What is the canonical way of seeing if a selector returns an empty list?

2009-12-17 Thread Charlie Griefer
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.

Re: [jQuery] Changing colspan with jQuery

2009-12-17 Thread Charlie Griefer
(){ $(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.

Re: [jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread Charlie Griefer
. 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.

Re: [jQuery] fading

2009-12-10 Thread Charlie Griefer
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

Re: [jQuery] Problem with assigning events to ajax generated content.

2009-12-09 Thread Charlie Griefer
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

Re: [jQuery] learn

2009-12-08 Thread Charlie Griefer
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

Re: [jQuery] unsub

2009-12-08 Thread Charlie Griefer
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.

Re: [jQuery] Jquery unique ID

2009-12-05 Thread Charlie Griefer
() {$(.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

Re: [jQuery] How do I trigger an event when a user presses a key within a text field?

2009-12-05 Thread Charlie Griefer
-- 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.

[jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
/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

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2009, at 11:46 AM, Charlie Griefer wrote: Hi All: I've read over the docs, but don't quite understand what the bind() event provides versus just assigning a particular event handler to a selected element (or set

Re: [jQuery] Re: Basic Bind Question

2009-12-04 Thread Charlie Griefer
() { $(p).trigger(myCustomEvent, [ John ]); }); Rey... Charlie Griefer wrote: 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 mailto:k...@englishrules.com wrote

Re: [jQuery] books to help indoctrinate java developers?

2009-11-24 Thread Charlie Griefer
-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

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
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

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
. 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

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
, 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

Re: [jQuery] What is the opposite of :checked?

2009-11-19 Thread Charlie Griefer
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

Re: [jQuery] show/hide div on select change

2009-11-18 Thread Charlie Griefer
=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

Re: [jQuery] imitate link

2009-11-17 Thread Charlie Griefer
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

Re: [jQuery] sending a html part to a printer

2009-11-11 Thread Charlie Griefer
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

Re: [jQuery] Re: JavaScript switched off

2009-11-10 Thread Charlie Griefer
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

Re: [jQuery] Confirm Delete

2009-11-09 Thread Charlie Griefer
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

Re: [jQuery] jquery form and myfom

2009-11-09 Thread Charlie Griefer
, 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.

Re: [jQuery] jquery form and myfom

2009-11-09 Thread Charlie Griefer
=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

Re: [jQuery] jquery form and myfom

2009-11-09 Thread Charlie Griefer
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

Re: [jQuery] Div change

2009-11-09 Thread Charlie Griefer
/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

Re: [jQuery] Re: How to keep two select items having the same value

2009-11-09 Thread Charlie Griefer
(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

Re: [jQuery] Characters in a string

2009-11-08 Thread Charlie Griefer
, 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.

Re: [jQuery] Append Help

2009-11-04 Thread Charlie Griefer
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

Re: [jQuery] Append Help Issue

2009-11-04 Thread Charlie Griefer
-- *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

Re: [jQuery] i can't use HTML ID's appended dynamically

2009-11-02 Thread Charlie Griefer
- 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

Re: [jQuery]

2009-10-31 Thread Charlie Griefer
://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.

Re: [jQuery] Preventing form submit

2009-10-29 Thread Charlie Griefer
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

[jQuery] Re: JQuery cloned elements new class isn't recognized.

2009-10-21 Thread Charlie Griefer
(); }); -- 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.

[jQuery] Re: Copy content from one field to another

2009-10-19 Thread Charlie Griefer
(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

[jQuery] Re: Color based on table data

2009-10-13 Thread Charlie Griefer
, 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.

[jQuery] Re: Please explain $(#username) $(#newUser).bind(click,{},function(){}) and..........

2009-10-10 Thread Charlie Griefer
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.

[jQuery] Re: Please say the meaning of $(#username) or $(#newUser).bind(click,{},function(){}) and..........

2009-10-10 Thread Charlie Griefer
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.

[jQuery] Re: Select all class not keyword_type_A, please help

2009-10-09 Thread Charlie Griefer
() { $('.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

[jQuery] Re: Hide row if empty

2009-10-08 Thread Charlie Griefer
()) == '') -- 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.

[jQuery] Re: Downloading Jquery

2009-10-01 Thread Charlie Griefer
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.

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Charlie Griefer
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

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
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

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
linked css files or will I have to further develop the jquery code to further direct it? I ask becuse well, im new, but the tutorial I used just used .css and acted like that was all that was needed. again, thanks for your help Charlie! On Sep 30, 10:48 pm, Charlie Griefer charlie.grie

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
, 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

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
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

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
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

[jQuery] Re: Checking/unchecking parent checkbox

2009-09-29 Thread Charlie Griefer
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.

[jQuery] Re: Using variables in an Attribute filter

2009-09-29 Thread Charlie Griefer
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

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread Charlie Griefer
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.

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread Charlie Griefer
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

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread Charlie Griefer
$(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

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread Charlie Griefer
, 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

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
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.

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
to do a Google search :thinking: A book with all those easy code like yours, like the split would be great. Thanks again. Charlie Griefer wrote: You shouldn't need to use a named function, or an inline onclick. If you can move that id attribute into the tag itself, you could do

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
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

[jQuery] Re: Apply CSS to dynamic content after it loads

2009-09-28 Thread 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

[jQuery] Re: Every post I make, I get an mail error.

2009-09-27 Thread Charlie Griefer
about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to this group) I get those too. -- 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

[jQuery] getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
\/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

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
} }); On Sep 25, 2:06 pm, Charlie Griefer charlie.grie...@gmail.com wrote: Hey all: I've read the docs and googled the heck out of this, but not seeing what the problem is. I'm trying to get some data from the server via the getJSON() method. I do see a response in firebug and I've validated

[jQuery] Re: Elements with similar names

2009-09-25 Thread Charlie Griefer
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

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
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.

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
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

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
).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

[jQuery] Re: Add content

2009-09-24 Thread Charlie Griefer
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

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-23 Thread Charlie Griefer
')); 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

[jQuery] Re: Simple CSS selector Question

2009-09-17 Thread Charlie Griefer
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?

[jQuery] Re: Simple CSS selector Question

2009-09-17 Thread Charlie Griefer
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

[jQuery] Re: Simple CSS selector Question

2009-09-17 Thread Charlie Griefer
need to concatenate it: var foo = 'newsletter'; $(input[name= + foo + ]) Hope that helps explain. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 17, 2009, at 12:22 PM, Charlie Griefer wrote: Hi Karl: Hate to hijack the thread, but hopefully

[jQuery] Re: How to get mouseover and mouseout action to take place after changing div with jquery post method

2009-09-17 Thread Charlie Griefer
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.

[jQuery] Re: Error when update jquery from 1.2.4 to 1.3.2

2009-09-16 Thread Charlie Griefer
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

[jQuery] Re: selectors, events, and scripted elements not working

2009-09-15 Thread Charlie Griefer
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

[jQuery] Re: $(this).css({color : red})

2009-09-12 Thread Charlie Griefer
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: http://testingspot.hostcell.net/sandbox/tests/css.jquery.test.html it somehow doesn't work at all not even the css does it matter

[jQuery] Re: $(this).css({color : red})

2009-09-12 Thread Charlie Griefer
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

[jQuery] Re: $(this).css({color : red})

2009-09-12 Thread Charlie Griefer
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

[jQuery] Re: jquery offline Help document

2009-09-06 Thread Charlie Griefer
On Sun, Sep 6, 2009 at 9:22 PM, vipin vipinpaliwal1...@gmail.com wrote: How can i get jquery API offline help document. See http://docs.jquery.com/Alternative_Resources for some options. -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my

[jQuery] Re: Clickable div?

2009-09-04 Thread Charlie Griefer
I don't know that you can use a filter the way you're trying to (using the colon in #logo:a). Filters are more like tr:first (matches the first tr element), tr:odd (matches odd-numbered table rows.. good for zebra-striping)... See the sections about the various types of filters at

[jQuery] Re: Clickable div?

2009-09-04 Thread Charlie Griefer
Oooh good call. I had forgotten :) On Fri, Sep 4, 2009 at 10:20 AM, MorningZ morni...@gmail.com wrote: and don't forget to add the css cursor: pointer to make the user's mouse cursor look like a link On Sep 4, 1:15 pm, Charlie Griefer charlie.grie...@gmail.com wrote: does that div have

[jQuery] Re: Clickable div?

2009-09-04 Thread Charlie Griefer
does that div have an id attribute? if so, $('myDivID').click(function() { do stuff here }); On Fri, Sep 4, 2009 at 10:13 AM, lukas animod...@gmail.com wrote: I have a div that only contains an image. How would I create a jquery-click function that basically would represent a normal a tag

[jQuery] Re: Do I need to include whole JQuery file ?

2009-09-03 Thread Charlie Griefer
On Thu, Sep 3, 2009 at 4:28 AM, Gaurang Mistry gaura...@gmail.com wrote: Hello, I am new to jquery. I am using only hide and show functions. Do I need to include whole jquery file ? Which part of file I need to remove ? I think manipulating the core file in any way is a bad idea. I

[jQuery] Re: Help getting elements name.

2009-09-02 Thread Charlie Griefer
$('input:radio').click(function() { alert(this.name); }); But... as radio buttons, wouldn't they all have the same name? In any event, 'this' (or the jQuery $(this)) will give you a hook into the element that triggered the click. On Wed, Sep 2, 2009 at 12:44 PM, gilberto.ramoso...@gmail.com

[jQuery] Re: How can I manipulate all the radios in one div?

2009-09-02 Thread Charlie Griefer
assuming the particular div has an id=myDiv attribute... $('myDiv input:radio') http://docs.jquery.com/Selectors/descendant#ancestordescendant (the docs are your friend) You could also apply a specific class name to the ones you want to manipulate. But if you don't want to (or can't)

[jQuery] Re: Easy SELECT question for newbie

2009-08-30 Thread Charlie Griefer
#3 errors because as of jQuery 1.3, the use of the @ symbol is deprecated. $('input[id$=ckKyW]') -- all input elements with an id attribute that ENDS WITH 'ckKyW' see the Attribute Filters section of http://docs.jquery.com/Selectors On Sun, Aug 30, 2009 at 7:31 AM, gBerger crapper_m...@att.net

[jQuery] Re: Easy SELECT question for newbie

2009-08-30 Thread Charlie Griefer
wrote: Thanks. That did the trick. I actually spent at least a couple of hours on this. embarrassed to say I looked and looked for examples and thought I tried every conceivable example. Thanks again, gBerger On Aug 30, 1:18 pm, Charlie Griefer charlie.grie...@gmail.com wrote: #3

  1   2   >