[jQuery] Re: wrap siblings between 2 specific tags

2009-10-04 Thread stvwlf
found the solution - anyone needing this look here: http://groups.google.com/group/jquery-en/browse_thread/thread/2bc5c6807808e148

[jQuery] wrap siblings between 2 specific tags

2009-10-03 Thread stvwlf
How do I wrap repeated sets of [ followed by other tags ] in a div? example: - - I want to wrap everything between the lines in a single [] ? The # of tags in between the lines ( i.e. # of tags following ) will vary after each tag. They won't all start w

[jQuery] animate CSS margin shift onclick

2009-02-22 Thread stvwlf
Hi When an that is the header in an accordion is clicked, jQuery adds an "active" class to the h3. The stylesheet then assigns h3.active { left-margin: -25px } I would like to animate the 25 px shift from the default left-margin: 0px to -25px, and also animate the return back to 0px when

[jQuery] how disable text box based on "select" setting

2008-11-01 Thread stvwlf
Hi I am new to jQuery - appreciate some help. I found some code that hides a textbox when a dropdown is set to a specific value. That works fine. $(document).ready(function(){ if($('select[name=costType] :selected').val() == 'fr'){ $('input[name=