Jump to content

Why does the code below doesn't work ?


jd2007

Recommended Posts

3 main problems:

1.) Your function name should not use "alert()". Is a reserved function name.

2.) Try put this in your script tag:

<script language="JavaScript" type="text/javascript">
</script>

 

Anyway, is a bad idea to use php to output some javascript. Try find some other way. :) Happy coding.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.