Re: Javascript partially not working
| From: | Mikael Grön | Date: | Tue, 24 Apr 2007 13:06:28 +0000 |
| Subject: | Re: Javascript partially not working | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27739@lists.php.net to get a copy of this message | ||
Alf, it has already been pointed out that this list is for PHP. That the JavaScripts are supposed to run on a page generated from PHP isn't enough to make it PHP related.
Please register to a JavaScript list and ask your question about JavaScript there.
Mike
Alf Stockton skrev:
I include the attached Javascript file when building my intranet web page using PHP and it partially works. When called the function Done() works fine and the function ClearForm() works up to the line that reads document.getElementById("MemberName").innerHTML = ""; Below that nothing works. I have altered the abovementioned line to document.getElementById("MemberName").value = ""; and it still works but again nothing below that line works. I feel that there must be something wrong with the line that reads document.getElementById("Amount").value = ""; but I'm blessed if I can see it. The relative HTML line reads <div style="position:relative;"><input type=text name="Amount" id="Amount" onBlur="CheckAmount()"></div> Please make suggestions.