[Solved] why the click(function() doesn't work ?
please help... i'm stuck here...
why when i click button Search.. the code does not work ? thanks
-
<html>
<head>
<title>testing</title>
<script type='text/javascript' src='/_include/jquery-1.3.2.min.js'></script>
<script type="text/javascript">
$(document).ready(function() {
$('#search').click(function() {
$('#divname').append("ANOTHER TESTING");
}
});
</script>
</head>
<body>
<div id="test">
<button id="search">Search</button>
<div id="divname"></div>
</div>
</body>