delegate only finding
delegate only finding
Perhaps I'm misreading the documentation on delegate, but placeText only ever finds sideBarInfo and not the actual element clicked. Any ideas what I'm doing wrong here?
Thanks,
Dean
- sideBarInfo.delegate('span.show', 'click', function() {
var placeText = $(this).text();
$(".hide:contains('" + placeText + "')")
.slideToggle('slow');
});