Eg: Fetching text input value using jQuery $('#username').val();
(例如:使用jQuery $('#username').val();
来获取文本输入值$('#username').val();
)
I had tried this from this question
(我已经从这个问题尝试过)
Here is my code
(这是我的代码)
<div id="siteloader"></div>
$(window).load(function(){
$("#siteloader").html('<object data="http://testk.shopnix.org/admin" />');
setTimeout(function() {
console.log($("#lemail_id"));
$("#lemail_id").val("lemail_id");
console.log($("#lemail_id").val());
}, 10000)
})
JS fiddle here
(JS在这里摆弄)
ask by Kiran Reddy translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…