Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 输入文本不';无法在鼠标单击时启用_Jquery_Html_Css_Jquery Mobile_Input - Fatal编程技术网

Jquery 输入文本不';无法在鼠标单击时启用

Jquery 输入文本不';无法在鼠标单击时启用,jquery,html,css,jquery-mobile,input,Jquery,Html,Css,Jquery Mobile,Input,当用户单击表单文本区域(右侧的登录表单)的中心或右侧时,不会发生任何事情。只有当用户单击这些区域的左侧时,它才会起作用。这是我的 表格如下: <form id="login" name="login"> Username<input type="text" name="userid" size="25"/> Password<input type="password" name="pswrd"/> <input type="but

当用户单击表单文本区域(右侧的登录表单)的中心或右侧时,不会发生任何事情。只有当用户单击这些区域的左侧时,它才会起作用。这是我的

表格如下:

<form id="login" name="login">
    Username<input type="text" name="userid" size="25"/>
    Password<input type="password" name="pswrd"/>
    <input type="button" onclick="check(this.form)" value="Login"/>
    <input type="reset" value="Cancel"/>
</form>

用户名
密码
如何使其在用户单击文本区域任意一侧时启用?

尝试以下操作:

更改:

input {
    width: 10% !important;
}
致:

小提琴:试试这个:

更改:

input {
    width: 10% !important;
}
致:

小提琴:试试这个:

更改:

input {
    width: 10% !important;
}
致:

小提琴:试试这个:

更改:

input {
    width: 10% !important;
}
致:


小提琴:CSS中的最后一项是

input {
    width: 10% !important;
}
将其删除或使用以下命令覆盖:

.ui-input-text input {
    width: 100% !important;
}

CSS中的最后一项是

input {
    width: 10% !important;
}
将其删除或使用以下命令覆盖:

.ui-input-text input {
    width: 100% !important;
}

CSS中的最后一项是

input {
    width: 10% !important;
}
将其删除或使用以下命令覆盖:

.ui-input-text input {
    width: 100% !important;
}

CSS中的最后一项是

input {
    width: 10% !important;
}
将其删除或使用以下命令覆盖:

.ui-input-text input {
    width: 100% !important;
}

样式表中的最后一件事是:

input {
    width: 10% !important;
}

把这条规则全部去掉,它就会起作用。不需要它。

样式表中的最后一件事是:

input {
    width: 10% !important;
}

把这条规则全部去掉,它就会起作用。不需要它。

样式表中的最后一件事是:

input {
    width: 10% !important;
}

把这条规则全部去掉,它就会起作用。不需要它。

样式表中的最后一件事是:

input {
    width: 10% !important;
}

把这条规则全部去掉,它就会起作用。不需要。

无法在Chrome 44(Mac OS X)上复制。我在Chrome 45.0.2454.85 m(win7)@AaronCritchley上。无法在Chrome 44(Mac OS X)上复制。我在Chrome 45.0.2454.85 m(win7)@AaronCritchley上。无法在Chrome 44(Mac OS X)上复制。我在Chrome 45.0.2454.85 m(win7)@AaronCritchley上。无法在Chrome 44(Mac OS X)上复制.我使用的是Chrome 45.0.2454.85 m(win7)@AaronCritchley.Correct,+1,但另一个答案快了一分钟。他们都错了,你根本不需要规则!:)@JohnTable,这就是为什么我说“删除它或使用覆盖”。我假设OP需要应用程序中其他地方的规则…正确,+1,但另一个答案快了一分钟。他们都错了,你根本不需要规则!:)@JohnTable,这就是为什么我说“删除它或使用覆盖”。我假设OP需要应用程序中其他地方的规则…正确,+1,但另一个答案快了一分钟。他们都错了,你根本不需要规则!:)@JohnTable,这就是为什么我说“删除它或使用覆盖”。我假设OP需要应用程序中其他地方的规则…正确,+1,但另一个答案快了一分钟。他们都错了,你根本不需要规则!:)@JohnTable,这就是为什么我说“删除它或使用覆盖”。我假设OP需要应用程序中其他地方的规则。。。