js 工具函数
摘要:一、document.getElementByIdfunction $(id){ return document.getElementById(id);} $("id").value二、生成select的optionvar _option = $("id");_option.options[0]=new Option("Name","value"); 生成:<option value="value">Name</option>//var id = "{\&quo
阅读全文
posted @ 2011-11-28 19:22
浙公网安备 33010602011771号