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

2009-02-08 Thread seasoup
In firefox, to see the changed html markup click on the page and do ctrl-A to select all and then right click and View Selection Source. This also work if you just highlight the element you want to see the source of. On Feb 7, 10:05 pm, brian bally.z...@gmail.com wrote: On Sun, Feb 8, 2009 at

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

2009-02-07 Thread Karl Rudd
That should work fine. Example: http://jsbin.com/odada Something else must be going wrong. Karl Rudd On Sun, Feb 8, 2009 at 2:07 PM, gberz3 gbe...@gmail.com wrote: 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

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

2009-02-07 Thread Mauricio (Maujor) Samy Silva
There is nothing wrong with your jQuery code. Double check the link to jQuery library and the HTML markup. Try this example tested here: style type=text/css media=all .midget {background:red} /style script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js;/script script

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

2009-02-07 Thread gberz3
Ok, this is odd. I can perform a .fadeOut() on the acquired divs, but the .addClass() method specifically isn't working. Is there anything in particular that I can check? Specific syntax? Anything? Also, thanks for the quick support. On Feb 7, 10:33 pm, Mauricio \(Maujor\) Samy Silva

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

2009-02-07 Thread brian
Do you see the class added in firebug's HTML view? On Sat, Feb 7, 2009 at 10:49 PM, gberz3 gbe...@gmail.com wrote: Ok, this is odd. I can perform a .fadeOut() on the acquired divs, but the .addClass() method specifically isn't working. Is there anything in particular that I can check?

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

2009-02-07 Thread gberz3
Alrighty. First and foremost color me embarrassed, but I wasn't aware that the actual source wasn't manipulated. For instance, if I click on the browsers' VIEW SOURCE, it maintains the original. However, if I view the OBJECT via the CONSOLE of either Firebug, or view the HTML via the CONSOLE

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

2009-02-07 Thread brian
I believe that all browsers maintain the *original* source that they receive. This used to bug the heck out of me until a) the FF WebDeveloper extension came along with view rendered source and, b) I realised that it's in everyone's best interest that the browser inform you of the exact nature of

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

2009-02-07 Thread gberz3
I'm just glad it only took 2 hours, and not 2 weeks. I always tend to think outside the box. Unfortunately, I often find myself inside another box just beside the original box. Are there any sorts of explicit documentation that warns against gotchas of this nature? Thanks for the hand-holding

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

2009-02-07 Thread brian
On Sun, Feb 8, 2009 at 12:37 AM, gberz3 gbe...@gmail.com wrote: I'm just glad it only took 2 hours, and not 2 weeks. I always tend to think outside the box. Unfortunately, I often find myself inside another box just beside the original box. Are there any sorts of explicit documentation