jquery设立与获取HTML组件的值

jquery设置与获取HTML组件的值设置$(#sessPicId_text).val(id)function showThisPic(id) {$(#showArea

jquery设置与获取HTML组件的值
设置

$("#sessPicId_text").val(id);

function showThisPic(id) {$("#showArea").load("admin/showPicById.action?id=" + id);$("#sessPicId_text").val(id);}

获取
$("#currentPage").html()

function prePage() {var page = parseInt($("#currentPage").html()) - 1;loadPicList(page);}