Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<html>
<head>
<title> ax </title>
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript">
var godina = $("#godina").val();
$(document).ready(function(){
$("#but").click(function(){
$("#godina").fadeOut(2000);
$("#but").fadeOut(2000, zapis());
});
});
function zapis(){
document.write(godina);
};
</script>
</head>
<style type="text/css">
#godina{
}
</style>
<body>
<input type="textbox" id="godina"><br><input type="submit" name="submit" value="submit" id="but">
</body>
</html>
<script type="text/javascript">
function zapis(){
var godina = $("#godina").val();
$(document).ready(function(){
$("#but").click(function(){
$("#godina").fadeOut(2000);
$("#but").fadeOut(2000, zapis());
});
});
$("#element").innerHTML = godina ;
};
</script>
<div id="element"></div>
<html>
<head>
<title> </title>
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript">
function zapis (form) {
var text = form.inbox.value;
alert ("vie vavedohte : " + text);
}
</script>
<style>
</style>
</head>
<body>
<form name="myform" action="" method="get">Vavedi neshto po dolu:<br>
<input type="text" name="inbox" value=""><p>
<input type="button" name="button" value="Submit" onClick="zapis(form)">
</body>
</html>