[jQuery] Using .live and .each
I have a script that runs when I load the page which converts some
dates. I am not using ajax as well, and I need to use .live to
convert the dates that I brought in through ajax. How would I
combine .live with .each and make it work?
if ($("span.ISODate").length > 0) {
$("span.ISODate").each(function() {
$(this).text(getTFID($(this).text()))
});
}