 true;
                } else if (wpa_psw != wpa_psw_conf ) {
                    $("#wpa_psw_conf").after('<span class="error">Le password non sono uguali.</span>');
                    hasError = true;
                }
				
				
				if (!hasError) {					
					var formURL = $(this).attr("action");					
					var pBar = $("#pbar");
					
					$.ajax({
							type: "POST",
							url : formURL,
							data: {wpa_psw: wpa_psw, wpa_psw_conf: wpa_psw_conf},
							dataType:'JSON',
							success:function(respon