[jQuery] Re: Creating callable methods, and binding them to objects' actions.

2009-02-18 Thread gberz3
b 18, 7:10 pm, mkmanning wrote: > try: > $("input:[...@id:chargetotal]").change(updateDonationTotal); > > On Feb 18, 1:55 pm, gberz3 wrote: > > > Hi All, > > > I'm having a bit of a problem with selectors and binding in jQuery. > > Basically I wan

[jQuery] Creating callable methods, and binding them to objects' actions.

2009-02-18 Thread gberz3
Hi All, I'm having a bit of a problem with selectors and binding in jQuery. Basically I want to do 2 things: 1) create a javascript method callable by name that updates a div 2) bind that method to a set of radio buttons that runs the method on change It seems that none of the examples explicit

[jQuery] Re: Using selectors successfully...?

2009-02-07 Thread gberz3
"view rendered source" option by > default is another matter. (hmmm ... maybe I should go dig around in > about:config) > > On Sat, Feb 7, 2009 at 11:48 PM, gberz3 wrote: > > > Alrighty.  First and foremost color me embarrassed, but I wasn't aware > > that the a

[jQuery] Re: Using selectors successfully...?

2009-02-07 Thread gberz3
his nature? On Feb 7, 11:32 pm, brian wrote: > Do you see the class added in firebug's HTML view? > > On Sat, Feb 7, 2009 at 10:49 PM, gberz3 wrote: > > > Ok, this is odd.  I can perform a .fadeOut() on the acquired divs, but > > the .addClass() method specifica

[jQuery] Re: Using selectors successfully...?

2009-02-07 Thread gberz3
tp://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"">http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"</a>;> > > >  $(document).ready(function(){ >  $(".testclass").each(function(){ > $(this).addClass("midget");})

[jQuery] Using selectors successfully...?

2009-02-07 Thread gberz3
Will someone please explain to me why the following code fails to execute? I have a simple test page set up and jquery doesn't seem happy with what I'm trying to do. I get no errors, and when I log to console in firebug it shows that it is indeed finding my two objects, however it won't actually