首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

jquery设立与获取HTML组件的值

2012-06-26 
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);}

热点排行