Joomla! Is Forcing My Concat Plus '+' To "%20"
I have this Multi-line string comprised of mostly html, so I decided to use single inverted commas as delimiters. To keep it succinct, I have removed much of the html from the stri
Solution 1:
Try the fllowing snippet. It does work:
var studentid = '2';
console.log(
'<div class="modal-header">' +
'<h4 class="modal-title" id="myModalLabel">Duplicate Entry Found!</h4></div>' +
'<a type="button" href="index.php?layout=studentprofile&id=' + studentid +'" target="_blank">View Student Profile</a>'
);
Post a Comment for "Joomla! Is Forcing My Concat Plus '+' To "%20""