delete form element : failed

delete form element : failed

In a form, I delete an Input, then submit the form, but the deleted Input still there, don't know why ?

Thanks.

  1. $("#form").remove("#name");  // doesn't work

    $("#name").remove(); // doesn't work either