I am new in smarty and i want to know something like...
i have javasript code in .tpl file
var dispDate = myJsDate.getDate()+'/'+ (myJsDate.getMonth()+1) + '/' + myJsDate.getFullYear();
above code return : 08/12/2012
and have html code in that .tpl file
<a href="eventPost.php">Create A New Event</a>
<a href="commitment.php">Create A New Commitment.</a>
<a href="areaPost.php">Create A New Visiting Area.</a>
my query is i want to pass that javascript variable "dispDate" in url
like Code:
eventPost.php?ed=08/12/2012
commitment.php?ed=08/12/2012
areaPost.php?ed=08/12/2012