Don't want to submit form elements that I hide by hiding parent li
<p>I have form inputs placed in li element, and am hiding some of them by clicking a button. They get submitted even though they are hidden, so I was wondering what the alternative way would be to hide these element in a way that they will not be submitted?</p>
