Re: Javascript partially not working

From: Date: Wed, 25 Apr 2007 02:09:15 +0000
Subject: Re: Javascript partially not working
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-27745@lists.php.net to get a copy of this message
>>document.getElementById("Issue").disabled i must see the html result i believe u have error on your html not on the js for example form if you not declare a form name <form name=bedul><input name=issue> u can't change issue?? can u send to us again with the htm .. and since htm kinda danger to share, would you change the extension into txt (index.htm.txt) ----- Original Message ----- From: "Alf Stockton" <alf@stockton.co.za> To: "php windows" <php-windows@lists.php.net> Sent: Tuesday, April 24, 2007 7:42 PM Subject: [PHP-WIN] 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

« previous php.windows (#27745) next »