[links] Javascript functions
yan seiner <[email protected]> Thu, 22 Dec 2005 01:13:00 -0800
| Newsgroups | gmane.comp.web.links.list |
|---|---|
| Message-ID | <[email protected]> |
I am trying to use the following html/javascript
<head>
<title></title>
<script type="text/javascript">
function startCalc(){
interval = setInterval("calc()",1);
};
function calc(){
one = document.autoSumForm.firstBox.value;
two = document.autoSumForm.secondBox.value;
document.autoSumForm.thirdBox.value = (one * 1) + (two * 1);
};
function stopCalc(){
clearInterval(interval);
};
</script>
</head>
<body>
<form name="autoSumForm">
<input type=text name="firstBox" value="" onfocus="javascript:startCalc();" onblur="javascript:stopCalc();"> +
<input type=text name="secondBox" value="" onfocus="javascript:startCalc();" onblur="javascript:stopCalc();"> =
<input type=text name="thirdBox">
</form>
Unfortunately links seems to ignore onfocus/onblur or perhaps it ignores
javascript functions....
At this point, we may be willing to pay to have this fixed. Please
contact me...
--Yan
_______________________________________________
links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list