var inputBug=function(){
$('input[type="text"]').on('click', function () {
var target = this;
setTimeout(function(){
target.scrollIntoViewIfNeeded();
},400);
});
inputBug();
複製代碼
var arr = date.split(/[-: \/]/),
date = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);
複製代碼
html = html.replace(/<[^>]+>/g,"");
複製代碼