2
我想添加一个创建文本框的数组,每次创建一个应该是重点。这是我不工作的代码。任何帮助将非常感激。谢谢。聚焦DIV出DIV数组
var emails = new Array();
var count = 0;
//function to add more extra emails
$('#additional_emails').focus(function() {
emails[count] = '<input type="text" size="30" id="email_list'+ count + '" value ="'+count+'" /><br>';
$('#here_emails').append($(emails[count]).focus());
count++;
});
非常感谢,这是我第一次全光照你救了我很多混乱的一个论坛。非常感谢 – 2011-12-14 20:23:04