forse ho capito cosa intendi, se ho capito bene ti basta fare cosi:
codice:$("li.group").click(function( ) { .... $('#sottocat').val(""); $('#prod').val(""); }); $("li.sottocat").click(function(event) { .... $('#prod').val(""); event.stopPropagation(); }); $("li.prod").click(function(event) { .... event.stopPropagation(); });

Rispondi quotando