I think your problem may be
$('#id').val()
There is no element with the id='id'
1
solved Is the following code valid? [closed]
I think your problem may be
$('#id').val()
There is no element with the id='id'
1
solved Is the following code valid? [closed]