Jquery Text Variable
- by Batfan
I am trying to get jquery to pick up variable that I am defining and I'm having issues doing it.
$.ajax({
url: "sitemap.php",
cache: false,
success: function(html){
$("#results").append(html);
var $seriestitle = $("#define-title").text();
$('#results a:contains("$seriestitle")').addClass('current-series');
…