Simple Code, Frustrating Error - Please Help!
Posted: Thu Jun 02, 2011 7:24 am
Hi
Im getting an error message on this simple code. I don't know what to do.
Here's the code. Dreamweaver says there is an error in line 5. This is register.js.
I have a php file that contains this js script along with others.
Im getting an error message on this simple code. I don't know what to do.
Here's the code. Dreamweaver says there is an error in line 5. This is register.js.
Code: Select all
<script>
$(function()
{
$("#go").click(function(){
alert("hi");
});
});
</script>Code: Select all
<script type="text/javascript" src="../../../require/jquery.js"></script>
<script type="text/javascript" src="../../../require/plugin/jquery.ba-hashchange.min.js"> </script>
<script type="text/javascript" src="../../../require/plugin/jquery-ui-1.8.13.custom.min.js"></script>
<script>
$(function()
{
$("#accordion").accordion();
});
</script>
<script type="text/javascript" src="../script/js/register.js"></script>