href pages with arguments code example
Example 1: href with parameters
function func(){
var SchoolId = 0;
window.location.href = "school_info.aspx?edit_school=true&school=" + SchoolId;
}
Example 2: href with parameters
<!DOCTYPE html>
<html>
<body>
<a onclick="func();">Click Here</a>
</body>
</html>