[jQuery] accordian div change on another button??

2009-04-15 Thread HISSAM
Hii guys, Tell me how to change a div of an accordian on a click of some other button I also want to prevent the default event of changing div on click on header How do I do it? Please help in urgency!!

[jQuery] Re: how to call 1 function from many buttons by passing parameters

2009-04-15 Thread HISSAM
thanks dude!! On Apr 15, 10:35 am, Mohd.Tareq tareq.m...@gmail.com wrote: Hi Hissam, If you have 5 div : $(function(){ $('.common').click(function(e){ $('.common').hide(); var targetId = e.target.id; $('#'+targetId).show(); }); }); div id=1 class=common/div div id=2 class=common

[jQuery] datepicker

2009-04-15 Thread HISSAM
guys I have 2 datepickers 1)arrivalDate 2)DepartDate The mindate of Depart must be the mindate of ArrivalDate I'm able to get the arrival date but I'm unable to set that in depart mindate attribute //arrivaldate.value=14/04/2009//which is erroneous when set to depart date

[jQuery] Re: datepicker

2009-04-15 Thread HISSAM
).datepicker({minDate: d, maxDate: '+1M +10D'}); // } } On Apr 15, 1:18 pm, HISSAM hissam.sher...@gmail.com wrote: guys                 I have 2 datepickers 1)arrivalDate 2)DepartDate The mindate of Depart must be the mindate of ArrivalDate I'm able to get the arrival

[jQuery] how to call 1 function from many buttons by passing parameters

2009-04-13 Thread HISSAM
Hey I'm new to JQuery I have 5 divs At a time only 1 div should be expanded the others must be hidden I'm using the show and hide function But I want to function parameterised to open the respective div and hide the other which is open How do I go about ??