I have a livequery function that doesn't run after elements are added
with an AJAX RadGrid control.
the elements are image thumbnails ie: <img class="thumb"/>
$(function() {
$(".thumb").livequery(function() {
$(this)
.resizeToScale({ width: 50, height: 50 });
});
});
If elements are added dynamically via other means (like a click event)
the livequery function runs right away.
click event that works:
$(function() {
$(".click").click(function() {
$("#dynamic")
.AddImage("../729424.jpg")
.children("img")
.addClass("thumb");
});
});
It seems to only be a problem with the RadGrid control when it
dynamically creates the elements.
Anyone have similar problem or thoughts on a fix/workaround?