Can't read form values |
Are you posting an empty form on purpose?
Because as shown in your posted image, the form elements returned by $('#form').serialize() are all empty I did spot this in your HTML Code: </form> Your submit button should be placed before the closing form tag. Also pass the form as an argument to the save function. You will then know for sure that the correct form will be serialized [code] <button type="submit " value="submit " onclick="save(this.form)" class="btn btn-primary ">Save</button> </form> |
Welcome Guest, Not a member yet? Register Sign In |