Javascript-how to open an html page written by a function on the php page in a new window

Source: Internet
Author: User
Example: I am writing a login + registration page. They asked me to write everything into a php file. I wrote the login page as a function, the registration page is written as a function. The problem is how to click a button on the logon interface to open the registration page in the new window. How does one call the function on the registration page ?? I use JavaScript to write it like this. But it does not work. Thank you !!! Soory! Do not send images. There is no coin for the first question. We will discuss javascriptphp.

Example: I am writing a login + registration page. They asked me to write everything into a php file. I wrote the login page as a function and registered it.
Write the page as a function. The problem is how to click a button on the logon interface to open the registration page in the new window. That's why
Which function on the registration page is called ??
I use JavaScript to write it like this. But it does not work. Thank you !!!
Soory! Do not send images. There is no coin for the first question. Next

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.