js 獲取元素值 1、獲取input標簽的值,方法: 根據input的name或者id獲取其值,假如有:<input type='text' id='name' value=123> JQ中獲取方法:$(" ...