$('form').find("input").not('input[type=submit]').val(""); code example
Example: how to get the all input element id value using jquery
BY LOVE
This function will give you all the ID values of input element
$('input').each(function (i, item)
{
alert(item.id);
});