开发者

HTML text input will not accept more than 50 characters, even with maxlength > 50

I have a text input box exactly like so...

<input class='text' type='text' name='org' id='org' size='80' maxlength='100' value='<?=$captain['Organization开发者_JAVA技巧'] ?>'/><br />

And I try to type the following into it...

Gateway NRA - Staten Island Unit - Great Kills Park

And I can't enter anymore after the 'r' in 'Park'.

The maxlength of this input box is 100, which is much more than enough characters to encompass the string I want to type in, but it simply won't take. I've tried greater maxlength values as well, but still nothing.

I've also noticed that other input boxes where I have much smaller limits, like a box for 'MI' with a limit of 1 character, let's me type in as many characters as I want. What's going on?


Not enough information here to answer your question.

You may have JavaScript running which is either changing maxlength or enforcing its own control on the input fields and hooking onchange-type events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜