Get GET variable

From Sandoz

Jump to: navigation, search

var moderate_id = querySt('moderate_type');

function querySt(ji) { hu = window.location.search.substring(1); gy = hu.split("&"); for (i=0;i<gy.length;i++) { ft = gy[i].split("="); if (ft[0] == ji) { return ft[1]; } } }

Personal tools