oninput = function() - zelo uporabna, recimo za kontrolo vnosa (dela v IE in firefoksu ttooo!!!!!)

To kar pises tukaj - se vpisuje spodaj oninput (ce vec kot 100 se pojavi opozorilo alert):

Zgoraj IE in Firefox --------------

oninput:


N paste ali cut se spro?i alert



Select a new car from the list.

When you select a new car, a function is triggered which outputs the value of the selected car.






Tipkaj (deluje v IE in firefoksu), var x = document.getElementById("mySelect2").value; document.f1.izhodie.value=x;

Tipkaj:
IZHOD

Izpis:


xxxxxx