[jQuery] Re: Working with variable in jquery

2009-03-14 Thread sergiugothic
I made it another way. Probably someone need this code: $(document).ready(function(){ $(".adminhead").click(function(){ $(this).toggle("slow"); $(this).parent().find("div.normalmode").toggle("slow"); }); });

[jQuery] Working with variable in jquery

2009-03-13 Thread sergiugothic
hi, I am working on something like this I have about 20 groups, each group contains two paragraphs, one visible and one hidden; and two divs, one visible and one hidden. Each group have a unique id from mysql. What I am trying to do: When you click on a paragraph, all divs and paragraphs

[jQuery] Working with variable in jquery

2009-03-13 Thread sergiugothic
hi, I am working on something like this I have about 20 groups, each group contains two paragraphs, one visible and one hidden; and two divs, one visible and one hidden. Each group have a unique id from mysql. What I am trying to do: When you click on a paragraph, all divs and paragraphs

[jQuery] Re: Using variables in selectors? $("input[name=x]")

2009-03-13 Thread sergiugothic
hi, I am working on something like this I have about 20 groups, each group contains two paragraphs, one visible and one hidden; and two divs, one visible and one hidden. Each group have a unique id from mysql. What I am trying to do: When you click on a paragraph, all divs and paragraph