现在的位置: 首页 > 综合 > 正文

我很无聊之在StackOverFlow解决一个关于HTML标签的问题

2013年01月10日 ⁄ 综合 ⁄ 共 982字 ⁄ 字号 评论关闭

原文链接:http://stackoverflow.com/questions/10334651/input-field-text-box-wont-stay-selected-when-clicked/10335396#10335396

Sean
McCully
 38分钟之前询问

Im new to html... This is probably very basic, but no matter what I do , I can't get my form to work. Whenever I click on an input field (text area) , the input field will stay selected as long as i hold the mouse down, but whenever I release, the focus goes
right back to the first field of the form. Is this html/ css? I have no idea how to fix it...

here's the form I'm working on... you can see that you can't select first name, last name, city, email ( you can only enter data by tabbing)

就在我在五分钟内解决这个问题并尝试写英文解答的时候,一个答案都没有的界面突然就刷成了有四个答案,并且他本人都给了一个很好的评价。我勒个去~我还以为不会有人去回答这么简单的问题呢?好吧,我还是继续二逼的把这个问题给他解答贴了上去,毕竟我是认真在做的。

It seems that I've found where go wrong. 0.Copy your original code out to your notepad. 1.Delete the unnecessary code to see your problem
clearer. 2.Then check the code tree carefully! I see the fucking label label here and there! you know, you shouldn't just put this guy everywhere. you make him always get focused,not the input named text guy. So try to delete the label, you will check it out.


抱歉!评论已关闭.