[jQuery] How to use this "this" event which has been passed to a function as a parameter

2009-08-11 Thread Russ
Hello, I have a link; click me And what i'd like to do is use the "this" object to manipulate the css of its parent; function DoSomething(obj) { if(obj) { $(obj).parent.addClass("newstyle"); //i can do this with javascript, but i dont want to write styles into my js

[jQuery] Re: append() not updating DOM

2009-01-21 Thread Russ Hacker
ay. Hopes this helps somebody. Russ p.s. Maybe we need a a "Gotcha" page at http://docs.jquery.com similar to the FAQ?

[jQuery] Re: append() not updating DOM

2009-01-21 Thread Russ Hacker
Click tab "para2" 8. Click tab "para1" Thanks in advance to anyone who has seen this problem before and knows a workaround... Russ

[jQuery] append() not updating DOM

2009-01-21 Thread Russ Hacker
I have problem with elements that have been added to the DOM via append() not being reliably returned via selectors. Happens when I perform append between containers thus. 1. Append Container 1 2. Append Container 1 3. Append Contrainer 2 4. Append Contrainer 2 5. Append Container 1 Say yo

[jQuery] Re: Using position

2009-01-14 Thread Russ
dont worry, its my own doing - i had an alert in the calling function to display the position code. On Jan 14, 4:15 pm, Russ wrote: > I have this function (below) which im using to show a div (progress) > and center it over another div (diary) on my page as some ajax is > called. &

[jQuery] Using position

2009-01-14 Thread Russ
I have this function (below) which im using to show a div (progress) and center it over another div (diary) on my page as some ajax is called. It all works, except that it always pops an alert showing the "position" jquery function. Anyone else had this problem using position?? function ShowPro

[jQuery] Issues with innerfade & IE

2008-12-30 Thread Russ
Hello all, I am trying JQuery for the first time and am having some issues in IE with the innerfade plugin. The innerfade functionality works great in Firefox, but when you look at the page in IE (6 or 7, doesn't matter), the first image loads without showing the rest. Before posting the URL, I