How can i add variable value into a new variable? I'm modifying a news slider and i would like to insert "date" into subtitle
what i've tried:
(function( $ ){
$.fn.accessNews = function(settings){
$now = new Date();
var defaults = {
// title for the display
title: "news:",
// subtitle for the display
subtitle: "$now",