Jquery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the following Java script program, called js_test3.html:

<html>
<head>
<script type="text/javascript" src="https://getfirebug.com/firebug-lite-debug.js";></script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                <title>javascript Example Page</title>
                <script type="text/javascript">

$(function()
{
$(document).ready(function()
{
  $("button").click(function()
  {
    $("p").hide();
  });
}
}));
</script>
</head>

<body>
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<button>Click me</button>
</body>
</html>

which I cannot get to run. If I click on the text, or the button, nothing happens. The links in the program are to my son's computer, and have to be changed. I tried to link directly to the Jquery site, with no luck.

Help and advice, please.

Thanks.

Ethan


MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux