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

2010-01-15 Thread Charlie Griefer
hat do I > do 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
ot;learning")... you'll make up that week in no time just by virtue of never having to type document.getElementById() again :) "Installing" jQuery is simply a link to the jQuery.js file. If you're storing it locally, it's . You can also point to google's repository

Re: [jQuery] click event is not working

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

Re: [jQuery] How to unsubscribe from this group?

2010-01-05 Thread Charlie Griefer
Oooh... once you're in, well, we can't just let you walk away. O_o On Tue, Jan 5, 2010 at 4:47 PM, Chikkis Corner wrote: > Please unsubscribe me from this group. > -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life

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 wrote: > On Jan 5, 3:43 pm, Charlie Griefer wrote: > > Within the function triggered by the click event, $(this) or this are > both > > references to the element that triggered the click. > > More precisely, "this&q

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

2010-01-05 Thread Charlie Griefer
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 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
the keyboard). > > On Dec 28, 1:17 am, Charlie Griefer wrote: > > You just want the value of the one that's checked? > > > > $(':checkbox[name=number]').click(function() { > > if ($(this).is(':checked')) alert($(this).val()); &

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
, 2009 at 1:08 PM, dziobacz wrote: > I have: > > > > > > I would like to get value each time when one of these checkboxes will > change status, how can I do that ? For example when first checkbox > will be unchecked or second will be checked. Could You help me ? > > >

Re: [jQuery] Re: .add()

2009-12-23 Thread Charlie Griefer
#x27;t seem to work this way and the only time more > elements get added 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 i

Re: [jQuery] .add()

2009-12-23 Thread Charlie Griefer
$(".stuff"); > var $obj2 = $(".morestuff"); > $obj1.add($obj2); > alert($obj1.length); > > This doesn't do anything, 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 selec

Re: [jQuery] Sending all checked checkboxes

2009-12-23 Thread Charlie Griefer
: > How 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] 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 wrote: > I have to add som jquery magic to a link where the only unique > identifier is the "title"-atribute? > > my code: > > > > How do I target this via Jquery? > -- Char

Re: [jQuery] Latest JQuery File

2009-12-23 Thread Charlie Griefer
uot;string", i tryed to fix it > myself but i didn't 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] Re: jQuery Selector Help

2009-12-22 Thread Charlie Griefer
On Tue, Dec 22, 2009 at 10:40 AM, Charlie Griefer wrote: > On Tue, Dec 22, 2009 at 10:34 AM, Mike Walsh wrote: > >> >> [ ... snipped ... ] >> >> Thanks for pointing me in the right direction. This is what I ended >> up getting to work: >> >>

Re: [jQuery] Re: jQuery Selector Help

2009-12-22 Thread Charlie Griefer
t jQuery code (unless there's a compelling reason not to). And yeah... just a preference. Not saying 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
by an asterisk. It replaces that pattern with the 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 of success.

Re: [jQuery] simple code not working

2009-12-21 Thread Charlie Griefer
(json) { >alert("Data Loaded: " + json); >}) >}) > }) > > and its not working. Its set to work when a 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 wo

Re: [jQuery] Changing colspan with jQuery

2009-12-17 Thread Charlie Griefer
').each(function(){ >$(this).attr('bgColor','red'); > }); >} >else >{ >document.getElementById('plusSign').innerHTML='+'; >$('th.ba_colspan, td.ba_colspan').each(function(){ >$(this).attr('bgColor','green'); >}); >} > }); > }); > > -- 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] What is the canonical way of seeing if a selector returns an empty list?

2009-12-17 Thread Charlie Griefer
t; But is that the preferred way 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] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread Charlie Griefer
ese are all input > type="text" elements if that matters. > > 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 wrote: > 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/

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

2009-12-09 Thread Charlie Griefer
utton to create a new item, have that written to the database, > update the list of items to reflect the addition, and then attach a click > event to the list 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 >

Re: [jQuery] unsub

2009-12-08 Thread Charlie Griefer
ry 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] 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 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/ I have

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

2009-12-05 Thread Charlie Griefer
nd it in here: http://docs.jquery.com/Events -- 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").hover(function(){ >if (hide) clearTimeout(hide); >}, function() { >hide = setTimeout(function() {$(".testing").fadeOut > ("slow");}, 500); >}); >}); > > > > this is my dynamic created > content > > 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. And I wish you my kind of success.

Re: [jQuery] Re: Basic Bind Question

2009-12-04 Thread Charlie Griefer
n(e, myName, myValue){ > >$(this).text(myName + ", hi there!"); > >$("span").stop().css("opacity", 1) > > .text("myName = " + myName) > > .fadeIn(30).fadeOut(1000); > > }); > >

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
h $link on mouseover > } else { > // do something with $link on mouseout > } > }); > > --Karl > > > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > > > On Dec 4, 2009, at 11:46 AM, Charlie Griefer wrot

[jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js</a> "> $(document).ready(function() { $('p.first').bind('click', function() { alert($(this).text()); }); $('p.second').click(function() {

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

2009-11-24 Thread Charlie Griefer
azon.com/jQuery-Action-Bear-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

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 f

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
c :\ On Thu, Nov 19, 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" wrote: > > leftOffset is a variable you're defining

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
to not work as well. 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" wrote: > > What version of IE? > Define "break&qu

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
}";$('head > style').text(cssString); > -- 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] show/hide div on select change

2009-11-18 Thread Charlie Griefer
tfield1').hide(); >} > }); > }); > > > Status: > >New >In Review >Working On >Elevated >Approved >Deferred > Denied >

Re: [jQuery] imitate link

2009-11-17 Thread Charlie Griefer
On Tue, Nov 17, 2009 at 6:56 PM, runrunforest wrote: > Can make behave as ? > > For exmaple, I have Home, I want to go to homepage when i click > b. > Why would you not just use CSS to style an element to be bold and not underlined? -- Charlie Griefer http://charlie.grief

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

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

Re: [jQuery] Re: JavaScript switched off

2009-11-10 Thread Charlie Griefer
uot;enabled.html"; >> >> Better still when possible is to unobtrusively enhance 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 you

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

2009-11-09 Thread Charlie Griefer
er1]").change(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. -- Char

Re: [jQuery] Div change

2009-11-09 Thread Charlie Griefer
ldatacallback or http://docs.jquery.com/Ajax/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 of success.

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 > *Sent:* Monday, November 09, 2009 7:41 PM > *To:* jquery-en@googl

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Charlie Griefer
stavo]') $('form[id=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 > > *F

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Charlie Griefer
(any valid value for any attribute, 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] Confirm Delete

2009-11-09 Thread Charlie Griefer
u are "unable to add a class". So not sure which 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 he

Re: [jQuery] Characters in a string

2009-11-08 Thread Charlie Griefer
ot;; var arr = str.split('/'); // converts your string to an array, 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 Issue

2009-11-04 Thread Charlie Griefer
> *Subject:* RE: [jQuery] Append Help > > That certainly was fast. > > Thanks, just what i needed. > > Dave > > -- > *From:* Charlie Griefer [mailto:charlie.grie...@gmail.com] > *Sent:* November-04-09 1:35 PM > *To:* jquery-en@googlegroups.com > *Subjec

Re: [jQuery] Append Help

2009-11-04 Thread Charlie Griefer
ould like it to > appear above image1 > > > But I would like 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 of success.

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

2009-11-02 Thread Charlie Griefer
Binds a handler to an event (like click) for all current - 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

Re: [jQuery]

2009-10-31 Thread Charlie Griefer
ocs.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
n't elaborate on why, other than I've been told way 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&

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

2009-10-21 Thread Charlie Griefer
t;); >$(this).addClass("availableProfile"); > $(this).parent().clone(true).appendTo("#" + > elementGroup[0] + > "_available"); >$(this).parent().remove(); > >}); -- 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
oks for a element in the DOM (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 kind of success.

[jQuery] Re: Color based on table data

2009-10-13 Thread Charlie Griefer
}); > }); > > > I'm working with scala and lift as well so I'm bringing in the table > data from a database when the page loads. > > Any advice would be helpful here, whether you think a widget is how to > make the colors adjust, or creating more JS functions for doing it. > > Thanks in advance, > > 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 say the meaning of $("#username") or $("#newUser").bind("click",{},function(){}) and..........

2009-10-10 Thread Charlie Griefer
an image. it's setting the src attribute to be an empty string on the image with id="spamimage". $('#foo') is jQuery notation 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: Please explain $("#username") $("#newUser").bind("click",{},function(){}) and..........

2009-10-10 Thread Charlie Griefer
to the click event of the element 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: Select all class not " keyword_type_A", please help

2009-10-09 Thread Charlie Griefer
g > > tag > > tag > > tag > > tag > > tag > > > I create a code jquery show only class="keyword_type_S" > $(document).ready(function() { > $('#A').click(function() { > $('.keyword_type_A').show(); > $('^li.keyword_ty

[jQuery] Re: Hide row if empty

2009-10-08 Thread Charlie Griefer
characters (spaces and/or tabs and/or newlines) There should be a few ways you can fix that. If you're generating this content dynamically, you should be able to trim the data on the server side. If not, you can trim it out on the client via a JS regex or jQuery.trim(). if (jQuery.trim

[jQuery] Re: Downloading Jquery

2009-10-01 Thread Charlie Griefer
On Thu, Oct 1, 2009 at 9:41 AM, tendai wrote: > > Im creating a photo gallery that uses jquery. After downloading jquery > it wont let me run it. Anybody know whats up with that. > You're really going to have to elaborate if you expect any helpful answers (other than this one

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
}); }); On Wed, Sep 30, 2009 at 10:14 PM, Charlie Griefer 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 if no data? > > Also, do you

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
ld I hide the whole if their is nothing > available to show from the database in ? > > 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 my wife. And I wish you my kind of success.

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
; > Glen > > On Sep 30, 11:05 pm, Charlie Griefer > 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) o

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
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 an element's CSS with jQuery, you're just manipulating the CSS of that speci

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
and then create a new file with > javascript in it and link 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

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

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

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

2009-09-29 Thread Charlie Griefer
$('#test').val($('#test').val().replace(/,/g,'')); >}); > > }); > > > > On Sep 29, 9:42 pm, Charlie Griefer wrote: > > Because it's completely new to you is exactly why you should be reading > the > > doc

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

2009-09-29 Thread Charlie Griefer
belo code > look? > > > > $(document).ready(function(){ > >$("#test'").blur(function () { > $('#test').val($('#test').val().replace(/,/g,'')); >}); > > }); > > > > On Sep 29, 9:17 pm, Charlie Griefer

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

2009-09-29 Thread Charlie Griefer
Tue, Sep 29, 2009 at 1:04 PM, factoringcompare.com < firstfacto...@googlemail.com> wrote: > > Thank you. Could you elaborate on the code so that I can track it > through and understand > > On Sep 29, 8:49 pm, Charlie Griefer wrote: > > $('#test').blur(

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

2009-09-29 Thread Charlie Griefer
ommas in numeric text field > called test on blur. New to jQuery. I have had a go at coding would 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: Using variables in an Attribute filter

2009-09-29 Thread Charlie Griefer
substitute the variable name nothing happens. > > I am sure I am doing something dumb! Thanks for any suggestions. > > Roi > -- 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: Checking/unchecking parent checkbox

2009-09-29 Thread Charlie Griefer
unchecked else then it's parent checkbox needs to be checked. > > > > > Exclude Retired > > > Directors and Executives > > > > > > > > $(document).ready(function() { > > > $('#chkIncludeRetired').click( > > >

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

2009-09-28 Thread Charlie Griefer
uot;offsite" icon 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? > >

[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 Grie

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
ook for > Javascript. > > Example: for the split I had 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 fun

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
> View this message in context: > http://www.nabble.com/How-to-handle-dynamic-clicks--tp25644199s27240p25644199.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 succeeded. But I love my life. I love my wife. And I wish you my kind of success.

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

2009-09-27 Thread Charlie Griefer
; > > > evo wrote: > > > Everytime I post to this group through thunderbird, I get a > > undelivered mail message sent back, everytime. > > This has only started happening recently and I can't find any info > > about it anywhere. > > > Just want to know if th

[jQuery] Re: Elements with similar names

2009-09-25 Thread Charlie Griefer
> > how i can select all 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 of success.

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
}, > error: function(x,y,z) { > // x.responseText should have what's wrong > } > }); > > On Sep 25, 2:06 pm, Charlie Griefer wrote: > > Hey all: > > > > I've read the docs and googled the heck out of this, but not seeing what > the > > prob

[jQuery] getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
YERCOLLEGE"],"DATA":{"PlayerID":[1],"PlayerName":["Barden, Ramses"],"PlayerNumber":[13],"PlayerPosition":["WR"],"PlayerImg":["http:\/\/ assets.giants.com\/uploads\/players\/2FE2D3BDF4FB443D949D1D39B69ADC03.gif&q

[jQuery] Re: Add content

2009-09-24 Thread Charlie Griefer
On Thu, Sep 24, 2009 at 2:03 PM, a1anm wrote: > > Hi, > > I have an unordered list and I would like to use Jquery to add some > 's to it. > > How do I do this? > > Thanks! http://docs.jquery.com/Manipulation/append -- Charlie Griefer http://charlie.griefer.

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

2009-09-24 Thread Charlie Griefer
7;).click(function(){ >$('#list').hide(600).load('list.php',{type: > 'pending'}).show(600); > $('#description').html(pending); >}); > To load the tables. > > On Sep 24, 12:59 pm, Charlie Griefer

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

2009-09-24 Thread Charlie Griefer
7;t 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 > wrote: > > $('a.accept').click(function() { > > alert($(this).closest('tr').attr('id')); > > >

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

2009-09-24 Thread Charlie Griefer
uot;>Deny > > > With multiple rows. Each row has a unique ID (numerical). I need to be > able to click on an a.accept, find WHICH one was clicked (which row it > is in), and get the ID of that row. I've been looking around and I > found parent(), but I'm not sure how

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

2009-09-23 Thread Charlie Griefer
('#myID').click(function() { alert($(this).data('myFirstArg')); return false; }); }); show details 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? Charli

[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
be interested in hearing 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: Simple CSS selector Question

2009-09-17 Thread Charlie Griefer
']") > > It isn't really related to literal text vs. variable value. In order to > pass in a variable, you need to concatenate it: > > var foo = 'newsletter'; > $("input[name=" + foo + "]") > > Hope that helps explain. > >

[jQuery] Re: Simple CSS selector Question

2009-09-17 Thread Charlie Griefer
ext vs variable value (assuming -bar- here is a variable)? Thanks! Charlie On Thu, Sep 17, 2009 at 9:06 AM, Karl Swedberg wrote: > > On Sep 17, 2009, at 5:13 AM, Charlie Griefer wrote: > > Pretty sure you need single quotes around bar. > > alert($("input[name='bar&#x

[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 wrote: > > Thanks Ralph. > > I tried following > > alert($("input[name=bar]").val()); > > and rather then showing it's value it alert undefined ??? why? > > I am so

[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 wrote: > > Hi every body. > > In my porject use jquery version 1.2.4, but this version can not run > C

[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
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 wrote: > 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 wrote: > >> >> The code on that pa

[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 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 wrote: > >> &

[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 wrote: > > http://testingspot.hostcell.net/sandbox/tests/css.jquery.test.html > it somehow doesn't work at all not even the css > does it matter where the style and

[jQuery] Re: jquery offline Help document

2009-09-06 Thread Charlie Griefer
On Sun, Sep 6, 2009 at 9:22 PM, vipin 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 kind of success.

[jQuery] Re: Clickable ?

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 element), tr:odd (matches odd-numbered table rows.. good for zebra-striping)... See the sections about the various types of filters at http://docs.jquer

[jQuery] Re: Clickable ?

2009-09-04 Thread Charlie Griefer
Oooh good call. I had forgotten :) On Fri, Sep 4, 2009 at 10:20 AM, MorningZ 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 wrote: > >

[jQuery] Re: Clickable ?

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 wrote: > > I have a that only contains an image. > How would I create a jquery-click function that basically would > represent a normal tag for his ? > Thank yo

[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 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 mean orders o

[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) manipul

[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 < gi

[jQuery] Re: Dissect an ID

2009-08-30 Thread Charlie Griefer
There may be a more elegant way, but until it comes along... you can .split() the string on the _ character. myArray = myString.split('_') which in your case would create an array with element 'thisisadiv' at position 0, and '1' at position 1. you could then reference it via myArray[1] On Sun,

  1   2   >