Sto provando con Ajax ma non va, che sbaglio:
codice:
				$(this).ajaxSubmit({
					target:   '#targetLayerfotoprofilo', 
					type: "POST",
					data: $('#fotoprofilo').val(),
					url: 'ciccio.asp',
Sbaglio sicuramente passando il valore di fotoprofilo che è un campo input file.

Come devo modificare?