Is the following code valid? [closed]

I think your problem may be

$('#id').val()

There is no element with the id='id'

Leave a Comment