[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread huntspointer2009
Thanks Scott, I actually modified the code you provided for me a little to create the desired effect: previous code: $("ul ").each(function() { $(this).find("li:nth-child(4n+2)", "li:nth-child(4n +3)").addClass("color"); }); modified code: $('ul').each(function() { $(this).find("l

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread huntspointer2009
thanks Virgil, Is there a way to create the same effect without specifying the ( eq: (' ') exact location) or (the content that inside) the list item? because I might be using up hundreds of unordered lists, each with a variable number of tags? original code: jhbshsbjhs udjkdnchb dkdnjkndjk hbd

[jQuery] JQuery - CSS - style unordered list

2009-12-14 Thread huntspointer2009
Does anyone know how to create the following CSS styling effect using JQuery: I have several unordered lists in one webpage: text 01 text 02 text 03 text 04 text 05 text 06 text 07 text 08 text 01 text 02 text 03 text 04 text 05 text 06 text 07 text 08 I would like to convert my previous co

[jQuery] Re: HELP!!! css & content filters

2009-10-17 Thread huntspointer2009
Thanks (Bi Jing), You offered the best solution, I tried using all of the code that was offered, but the following code was the only one that it made it work: $("li:even:odd, li:odd:odd").addClass("test_css"); I also like the fact that it's a minimal amount code, written in one line. Thanks to

[jQuery] HELP!!! css & content filters

2009-10-15 Thread huntspointer2009
- Can someone please help me solve the following issue? - How can I select and apply a 'background-color' to the following tags using JQuery? I've tried the following code, but it does NOT work: var test_css = {'background':'#000'}; $("ul li:nth-child(3n)").css(test_css);

[jQuery] JQuery Form - Ajax - Please HELP ! ! ! ! ! ! !

2009-09-02 Thread huntspointer2009
///Comment: Can someone help me do the following: create a function that collects ALL of the form's text field's Values, along with their corresponding ID, and create an Array like this: Example: var dataString = (item_01=123, item_01=456, item_01=789) then take the 'dataString' Array, an