uncauth unduge: не Defined. /> < /blockquote>
Код: Выделить всё
$("form#form1").submit(function(event) {
event.preventDefault();
var submitted = 1; // set the integer value of the variable submitted to 1
});
if (submitted == 1) { // if the integer value of the varialbe is 1
// run a function
}< /code>
Подробнее здесь: https://stackoverflow.com/questions/420 ... ot-defined
Мобильная версия