By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,821 Members | 1,058 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,821 IT Pros & Developers. It's quick & easy.

button to open new page

P: n/a
I writing my html pages in xhtml transitional 1.0. Trying to get a button
to open a new html page when pressed. Wanting to make this happen with using
javascript. Can somebody help me with this code?

<script>
newpage(){
code to open new html page
}
</script>
<input type="button" value="Click here to make one" onclick=newpage() />
Feb 19 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On Feb 19, 11:44 am, "Thad" <tsob...@cox.netwrote:
I writing my html pages in xhtml transitional 1.0. Trying to get a button
to open a new html page when pressed. Wanting to make this happen with using
javascript. Can somebody help me with this code?

<script>
newpage(){
code to open new html page}

</script>

<input type="button" value="Click here to make one" onclick=newpage() />
It's in the FAQ:

<URL: http://www.jibbering.com/faq/#FAQ4_42 >
--
Rob
Feb 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.