<input id=»bet» type=»text» OnChange=»check_it();» name=»target_arg6″ value=»» size=»1″/>Баллов <br/><div id=»message» style=»display: none;»>У вас недостаточно баллов.</div>
<script>
var message = document.getElementById(«message»);
var bet = document.getElementById(«bet»);
function check_it ()
{
if (bet.value > <?php echo $score ?>) {
showAlert();
}
if (bet.value < <?php echo $score ?>) {
hideAlert();
}
}
function showAlert ()
{
message.style.display = «block»;
}
function hideAlert ()
{
message.style.display = «none»;
}
</script>
Проверка полей формы в реальном времени javascript
Wow, amazing weblog structure! How long have you ever been blogging for?
you make blogging look easy. The total look of your website is wonderful, as neatly
as the content! You can see similar here e-commerce
Quality content is the main to attract the people
to go to see the web page, that’s what this website is providing.
I saw similar here: E-commerce
Useful info. Lucky me I discovered your website by chance,
and I am surprised why this twist of fate didn’t took place earlier!
I bookmarked it. I saw similar here: Sklep online