href with parameters
function func(){
var SchoolId = 0;
window.location.href = "school_info.aspx?edit_school=true&school=" + SchoolId;
}
4.67
3
<!DOCTYPE html>
<html>
<body>
<a onclick="func();">Click Here</a>
</body>
</html>
Thank you!
3
0
Are there any code examples left?
New code examples in category Other