Im trying to get a return value from a Jquery function. The value definetly exists but I can’t seem to return a valid value from the function with the return false: Function Below:
function clicky() {
var thisHTML1;
$(document).on(‘click’, ‘#htTab a’, function() {
var thisHTML = $(this).html();
alert(thisHTML);
thisHTML1 = thisHTML;
return false;
});
return thisHTML1;
}