[jQuery] Re: jQuery and swapping name values

2008-09-09 Thread Velcrobelly
Anyone? On Sep 8, 5:01 pm, Velcrobelly [EMAIL PROTECTED] wrote: I am using the following to do a Hide/Show feature, and it works exactly as I want... --snip- script type=text/javascript $(function(){         $('#sender').click(function(){                         $('#container

[jQuery] Re: jQuery and swapping name values

2008-09-09 Thread Velcrobelly
.: if one is shown, hide it and set the name attribute to data02 Sorry, no code, writing this in a bit of a rush.  I can supply code later if you would like? Hope this helps, though i may have missed the point of the question!? Regards Mark On Sep 8, 11:01 pm, Velcrobelly [EMAIL PROTECTED

[jQuery] Re: jQuery and swapping name values

2008-09-09 Thread Velcrobelly
I will try to be clearer... The checkbox controls the hide/show toggle of the two divs. Initially, the first div is visible and the name value for the input field in it is 'data01'. The second div is hidden and the name value of the input field in it is 'data02'. When the checkbox is clicked

[jQuery] jQuery and swapping name values

2008-09-08 Thread Velcrobelly
I am using the following to do a Hide/Show feature, and it works exactly as I want... --snip- script type=text/javascript $(function(){ $('#sender').click(function(){ $('#container div.toggleit').slideToggle('normal'); }); }); /script style