Click here to Skip to main content
15,886,783 members

Comments by M S RAM (Top 1 by date)

M S RAM 13-Jan-13 3:25am View    
Hi Sandeep, Many thanks for you help, I tried that too, but the function just submits to the same page i guess, nothing else happens. This is what happens in the function, the alert gets fired, but not the redirect. Thanks in advance for your time.

<script type="text/javascript">
function onEditClick(TemplateId, UserName) {
alert("TemplateEdit.aspx?TemplateId=" + TemplateId + "&UserName=" + UserName)
window.location.href = "www.gmail.com"; //"TemplateEdit.aspx?TemplateId=" + TemplateId + "&UserName=" + UserName;
return false;
}
</script>