That's because Response.Redirect is not JavaScript.
Try something like this instead:
document.location = "processform.aspx";
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
<> wrote in message
news: oups.com...
>I have a sumit button in aspx page.
>
> <input name="Submit" type="submit" onclick =
> "showProcessform()"value="Submit">
>
> <script type="text/javascript">
> function showProcessform()
> {
> Response.Redirect("processform.aspx");
> return true;
> }
>
> </script>
>
> when I click on button it doesn'r redirect me to processform.aspx
> page. It gives me error
>