v Mozzila to funguje skvěle, v google chrome nikoliv, jak to?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
function mf(x){
$(document).ready(function(){
if (x == 1)
{
$("label").text("Cena služby je:139");
$("#1").text("alda je best");}
else
{
$("label").text("Cena služby je:222");
}
});
};
</script>
<script>
function myFunction(x)
{
x.style.background="yellow";
}
</script>
</head>
<body>
<form>
<label for="sluzba"></label>
<select>
<option value = "masaz" onClick = "mf(1);">masaz</option>
<option value = "masaz2" onClick = "mf(2);">masaz2</option>
</select>
<input type="text" onfocus="myFunction(this)">
<p id = "1"></p>
</form>
</body>
</html>