このようなテーブルがあります..
<table id="content" style ="border:none>
<tr>
<td>
<table id="content_medium" style ="width:100%">
<tr class="grid_heading">
<th class="student">Students</th>
<th class="year">Year</th>
<th class="group">Roll Group</th>
<th class="Type">Session</th>
</tr>
</table>
</td>
</tr>
</table>
jqueryを使用してテーブルの幅を変更するにはどうすればよいですか..クリックすると幅100%を追加し、次にクリックすると幅属性を削除するボタンがあります..
お気に入り?
function openpartialView() {
$(".content").addcss("width","100%");
}
function closepartialView() {
$(".content").removecss("width", "100%");
}