当前位置 : 主页 > 编程语言 > java >

jquery改变 元素 属性值

来源:互联网 收集:自由互联 发布时间:2022-07-22
meta charset = 'utf-8' !DOCTYPE html html head meta charset = 'utf-8' script src = 'https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js' / script script type = 'text/javascript' $ ( document ). ready ( function (){ $ ( function (){ $ ( '.ft


<meta charset='utf-8'>
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script src='https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js'></script>
<script type='text/javascript'>
$(document).ready(function(){
$(function(){
$('.ftype_input tbody tr').attr('class','even newlist');
});
});
</script>

</head>

<body>
<div class='ftype_input'>
<body>
<table class='display dataTable' id='tab' cellpadding='0' cellspacing='0' >
<thead>
<tr>
<th width='10'></th>

</tr>
</thead>
<tbody>
<tr role='row' class='odd'><td>0000</td></tr>
<tr role='row' class='odd'><td>11111111</td></tr>
</tbody>
<tfoot>
<tr>
<th class='formsubmit'>
</th>
</tr>


</tfoot>
</table>
<br />
<button>设置图像的 width 属性</button>
</div>
</body>
</html>


上一篇:【java】文件输入输出流
下一篇:没有了
网友评论