Home > Web Front-end > HTML Tutorial > Please help me look at the code. After the code is written, the button does not transfer_html/css_WEB-ITnose

Please help me look at the code. After the code is written, the button does not transfer_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:28
Original
1198 people have browsed it

document.writeln('

  

');

The login button is normal, but the password retrieval is not normal. Click to retrieve it. The password button does not jump. Shouldn't the submit button be compiled for the password retrieval button? Noob, please help, thanks


Reply to the discussion (solution)

document.writeln('

  

');

Thank you very much for your reply, but clicking the password retrieval button still doesn't work. oh! My website is http://www.xiami1.com/, just click the password retrieval button on the homepage
I hope to get your help!

href="/member.php?mod=register" This way of writing is wrong.

document.writeln('<p><input class="submitbutton" value="登录" type="submit">  <input class="submitbutton" value="找回密码" type="button" onclick="window.location=\'/member.php?mod=register\'"></p>');
Copy after login

Thank you very much Aoxue Xingfeng for your help, solved my problem! xuzuning also found out the problem, thank you for your help!

Aoxue Xingfeng, please ask again, after the code has been modified
document.writeln('

');

Click to retrieve password and jump to
. It does not jump directly to

Do I need to add a piece of code?

Is the url to retrieve the password member.php?mod=register?
If not, just change this place to the URL for retrieving the password.

Isn’t there a link to retrieve your password in your first picture?
Just write the url in your previous button. You don’t need to log in to the password retrieval page. You have already logged in and you still need to find your password.

I know, my original url is for registering an account, I changed it to home.php?mod=spacecp for account login
The url for retrieving the password and the url for logging in to the account are together
To retrieve the password, click
on the login page, as shown in the picture


Do I still need a piece of code to let him click the retrieve password button when he clicks on the url to jump?

The forgotten password of discuz comes from the pop-up layer.
Retrieve password
If you don’t want to change any code in discuz, it is recommended to jump to the page you screenshot now and let the user click the Retrieve Password button in discuz.
Otherwise, you need to connect to the discuz database to determine the password yourself. This way you don't have to rely on the discuz program.

Ok, thank you very much for your patient help!

OK, thank you very much for your patient help!



Please leave a comment if the problem is solved.

fdipzone Thank you, the post has been posted and points have been awarded! Excuse me!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template