serialize()获取不到值

1,form表单拼写错误    写成from

 

2,id值没有写在form标签内  

<form id="searchForm">

 

3,写的是id ,你用$('.searchForm')

写的是class,  你用$('#searchForm')

 

4,form的id值有重复,不是唯一




posted @ 2018-04-20 22:29  狼人杀  阅读(883)  评论(0)    收藏  举报