![]() |
beginning js and getting errors.
i cant see why this wont work do you see why? i am studying a video by vtc and it works for the guy on the pc. here is the html button.
the bugzilla error im getting is missing ; before statement [Break on this error] CashRegister.prototype = New Machine();\n performtest is not defined onclick(click clientX=0, clientY=0) <input type="button" name="PerformTest" value="Perform Test" onclick="javascript:performtest()"> here is the performtest function in a seperate js file Code:
function Machine() |
The
missing ; before statement error was being generated because your New should not be capitalised, new Machine() works just fine. There are also a number of other errors mostly centred around improper capitalisation of the method/instance names. |
one word: Firebug
It's the only reason I use firefox. You'll understand when you start using it. Get the older version though, the new one kinda sucks. |
The only reason?
How about better support for all the current w3c recommendations? Or less memory leaks? Or just... it's plain better. -m |
There are browsers with better support
memory leaks? Have you checked the memory that firefox uses normally? It's more than hours of leaks off IE. As for your last argument, that's just an opinion. Internet Explorer does it's job well; it surfs the web. Even if as a developer I hate IE, as an internet user it serves my needs perfectly. I'm not even getting into Opera, Safari, Konquerer, Epiphany, or Dillo. |
| All times are GMT. The time now is 04:06 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0