摘要: var start=0; var end=0; function add(){ var textBox = document.getElementById("ta"); var pre = textBox.value.substr(0, start); var post = textBox.value.substr(end); textBox.value = pre + document.getElementById("inputtext").value + post; } function savePos(textBox){ //如果是Firefox( 阅读全文
posted @ 2012-07-03 16:36 李秋 阅读(695) 评论(0) 推荐(0)
摘要: 图片自动加载 阅读全文
posted @ 2012-07-03 14:33 李秋 阅读(1299) 评论(0) 推荐(0)