国产gaysexchina男同gay,japanrcep老熟妇乱子伦视频,吃奶呻吟打开双腿做受动态图,成人色网站,国产av一区二区三区最新精品

App下載
首頁javascriptinputjQuery Form - 如何添加輸入[disabled = true]

jQuery Form - 如何添加輸入[disabled = true]

我們想知道如何添加輸入[disabled = true]。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.6.js'></script>
<style type='text/css'>
input.inp[disabled] {
  background: #fff000;
}
</style>
<script type='text/javascript'>
$(window).load(function(){
    $('<input class="inp" type="text" value="jquery" />').attr('disabled', 'disabled').appendTo('body');
});
</script>
</head>
<body>
  <input type="text" value="html" class="inp" disabled="disabled" />
</body>
</html>