Autor Zpráva
TomAsQo
Profil
ahoj, preco mi to NIC nerobi?

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">

<head>

<title></title>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<style type="text/css">

</style>
<script src="../../js/jquery.js" type="text/javascript"></script>

<script src="../../js/prototype.js" type="text/javascript"></script>
<script src="../../js/scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript">

/*
Event.observe(window, "load", function() {

});
*/
$("#a").click( function () { alert('aa'); });
</script>

</head>


<body>

<div id="a">AA</div>

</body>




</html>

TomAsQo
Profil
samozremme script src na ostatne frameworky mam zakomentovaneeee, cili je tu len jQuery...
TomAsQo
Profil
jaaaj soryyy nasiel som probleeem :( <script type="text/javascript">

$(document).ready(
function(){
$("#a").click( function () { alert('aa'); });
}
);
</script>


:(
Toto téma je uzamčeno. Odpověď nelze zaslat.