here's a simple jQuery function i'm trying to write using 'this' in the selector. 'This' is in an anchor tag and then directly next to it, i.e. the next sibling is what i'm trying to select,
When clicking on the anchor tag ('this') the sibling div next to it should open or slideDown via jQuery.
was thinking the plus sign in the selector should choose that div but is not working.
am not understanding the plus sign in the selector? please know, there are several of these on the page, which is why im using this. trying to avoid function with params.
$(this + '.code').slideDown('normal');
.showCodeLink is an anchor that would trigger the event. '.code' is the hidden div that i'm trying to open when 'showCodeLink is clicked.
trying to access with this select $(this + '.code')
hope that's clear, i've re-written this post 3 times!