[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-24 Thread James2008
hange).slideToggle("slow") } As you can see I still haven't got the arrows to work. I obviously need to toggle the src of the image as well as the slide movements for the div. How can I do this??? Thanks, James On Oct 24, 8:56 am, James2008 <[EMAIL PROTECTED]> wrote: > Hi again

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-24 Thread James2008
ROTECTED]> wrote: > > Hi James, > > > Here's one way to rewrite it using jQuery: > > function divShowHide(divID, imgID) { > >         var d = $('#' + divID).toggle(); > >         $('#' + imageID).attr('src', 'Images/' + ( d.is(

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread James2008
I forgot to mention. I want to do this so I can use the up and down animations for hiding/showing the divs (as currently there is none using the above method) On Oct 23, 2:42 pm, James2008 <[EMAIL PROTECTED]> wrote: > Hi. At the moment I've creating 2 divs for each record in a data

[jQuery] New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread James2008
Hi. At the moment I've creating 2 divs for each record in a database. One to first give a title for that piece of information and the second to be a show/hide div that gives furthur information upon clicking a little arrow. I generate both divs server side on an updatepanel refresh. I have them sh