阅读背景:

如何以两种形式保留文本框属性?

来源:互联网 

I have created 2 text input fields that have a required=1 attribute in them. However, there are two forms that redirect to two pages. I have two buttons, register and log in, and they are in two forms, so that when clicked, they can redirect to the page they need to. However, the input fields only keep the required attribute depending on the form they are placed in. I want the input fields to always be required for both forms. I did try to place them outside of everything, but then neither of the forms make input required. Code:I have created 2 text input fields that have a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: