Queste sono le fasi logiche che devo fare con jquery:Jquery convertire intero a stringa e viceversa
x
è un numero 2 cifre (numero intero) derivato da un input.value();
If var x is **not** 33 or 44
Convert this 2 digit number to string;
split the string in 2 parts as number;
Add these 2 values until they reduce to single digit;
Return var x value as this value;
Else
Return var x value literally as 33 or 44 whatever is the case;
Grazie!
È solo accettabile anche Javascript? – BalusC
sicuro, ma ho perso una parte: Aggiungi questi 2 valori (fino a ridurre a una sola cifra); Restituisce var valore come questo valore. – Richbyte