![]() |
i have made my calculator but does not function
could someone let me where i am going wrong?
thank you Code:
<script language="javascript" type="text/javascript"> |
You have numerous errors.
Take a look a the error console for some starting help. Also some useless code, for example: You have ... Code:
switch(document.calcform.startm.value) {Code:
switch(document.calcform.startm.value) {Code:
var tmp = document.calcform.startm.value; |
Also very old code. <script language=javascript> is long deprecated. Use <script type = "text/javascript"> instead (in fact also deprecated but still necessary for IE<9).
The <!-- and //--> comment (hiding) tags have not been necessary since IE3 (i.e. since September 1997). If you see these in some published script it is a warning that you are looking at ancient and perhaps unreliable code. |
| All times are GMT +1. The time now is 09:47 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.