Is there a way to delete a form element without using jQuery .remove()?

Posted by Tommy on Stack Overflow See other posts from Stack Overflow or by Tommy
Published on 2010-04-22T19:17:09Z Indexed on 2010/04/22 19:23 UTC
Read the original article Hit count: 115

Filed under:
|
|
|
|

Using .remove() so that the select all check box is not submitted to the server.

However, it is visible to the user as the select all checkbox is "physically" removed from the web page, upon submit.

Instead, I would like removing the select all check box to appear seamless but NOT on the server side. i.e. - I would like to keep the input on the page but remove the element in the form array before it is sent.

Can I manipulate the element[] array of the form before it is sent to the server and delete it there?

Thank you.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui