RE: Javascript partially not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I agee to Mikaels Gröns comment about Javascript

But just for helping out a bit

If it is about Javascript and nothing below a certain line works, then it is THAT line that is wrong...
document.getElementById("MemberName").innerHTML = "";

Best regards
/Gustav Wiberg


-----Original Message-----
From: Alf Stockton [mailto:alf@xxxxxxxxxxxxxx] 
Sent: Tuesday, April 24, 2007 2:42 PM
To: php windows
Subject:  Javascript partially not working

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.

-- 
Regards,
Alf Stockton		www.stockton.co.za

Stay away from hurricanes for a while.
My email disclaimer is available at www.stockton.co.za/disclaimer.html

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux