获取对象的话,id和name都可以,一般用id的比较多
id获取 : $("#xxx")
name获取 : $("[name=xxx]")
转载于:https://www.cnblogs.com/lhlong/p/6322916.html