I am sorry if it is a newbie question, but I have searched alot on internet but couldn't found a solution. Problem is that I want to show a variable value within jquery code, my jquery code is down here,
$(document).ready(function(e) {
$alt = $('.main-img').attr('alt');
$('.main-img').after("<div class='slide_title'>$alt</div>");
});
now problem is that I want to show variable alt value in , thnx in advance