I am trying to set saveData when there is at least one field filled in:
$(document).ready(function () {
$(":input").each(function() {
if($(this).val() != "")
window.setInterval(saveData, 5000);
}
});
There is a syntax error Expected ')' in this code.
What am I missing here?