View Full Version : javascript not loading.working in php file

01-16-2012, 06:48 PM
im trying to onclick function on the button but in firebug it will say, function not defined, i even tried to do it with a internal script, but still it will not work. please help

<!DOCTYPE html>
<script type="text/javascript" src="s/i.js">


<button id="fihkhjsdk" onclick="ff();"> dsfh </button>
<php code...>


01-17-2012, 03:37 AM
Post i.js

01-17-2012, 03:42 AM
nvm, this is solved. thanks though