<label>
<input type=button onclick=abc() id=log value='SUBMIT'>
</label>
<script>
function abc() {
google.script.run.withSuccessHandler(callback).processForm(document.forms[0]);
}
function callback(ste) {
if (ste == true) {
var a = document.getElementById('log');
document.write(a.value);
document.write('<a href=http://www.w3schools.com/js/js_htmldom_html.asp>do stuff</a>');
} else document.write(false);
}
</script>
as i m using document.location && window.location both are not working to switch page,is there any other method which can help me out to