Passing Variable using URL
-
Dear
I am using this JavaScript function for passing variable in URL
(function ($) {
var label = “Details”;
var detailPageUrl = “https://your-site/2016/02/04/details-page/”;
detailPageUrl += (detailPageUrl.indexOf(‘?’) === -1) ? “?st=” : “&st=”;
$(‘td[title=”submit_time”] div’).each(
function () {
var url = detailPageUrl + $(this).html();
var link = ‘‘ + label + ‘‘;This Script is working good but this script passing one variable through URL.
I want multiple variable passing through URL.
Is there any code that u refer me.Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Passing Variable using URL’ is closed to new replies.