gildash2
02-23-2004, 07:15 AM
hey again, i was just wondering and im really desperate for some expert advice on how to make it so that you can make the text within a text box that within a form uneditable so for instance how would you make this
<input type="text" name="guest" style="border: solid 2px #ff0000" style="background:#0000" style="color:#ff0000" style="position:absolute; top:89px; left:10px" size="10" value=" Guest ">
uneditable by the visitor to the website.
also how after and if command say this:
if (iName == "Kaade" && AccId == "seaweed")
{
window.iframe.location="http://www.yahoo.com";
window.status=('Hello '+iName+'. Welcome');
would you be able to change the value of the text box
maybe something along the lines of this?: document.formname.textboxname.value="the thing you want to change?"
that didnt work before when i tried it, any suggestions on ho wi can fix it? all and any help will be appreciated
<input type="text" name="guest" style="border: solid 2px #ff0000" style="background:#0000" style="color:#ff0000" style="position:absolute; top:89px; left:10px" size="10" value=" Guest ">
uneditable by the visitor to the website.
also how after and if command say this:
if (iName == "Kaade" && AccId == "seaweed")
{
window.iframe.location="http://www.yahoo.com";
window.status=('Hello '+iName+'. Welcome');
would you be able to change the value of the text box
maybe something along the lines of this?: document.formname.textboxname.value="the thing you want to change?"
that didnt work before when i tried it, any suggestions on ho wi can fix it? all and any help will be appreciated