English 中文(简体)
如何从文字箱中删除(豁免)案文?
原标题:how to remove(empty) text from a text box?
  • 时间:2010-08-10 11:00:12
  •  标签:
  • php
  • ajax

如何将案文从像样的案文箱中删除

elseif($num_rows >= 1)
{
?>
    <script>
        document.getElementById("newid").value="";
    </script>
<?php
echo "<font color= Red ><b>$logid</b> Ligin name has already been taken, Please chose another Login name.</font>";
}

this code I am using through ajax but this is not working. newid id text box control id on php login page

问题回答

我猜想你会把超文本放在空洞而不是价值上:

document.getElementById("newid").innerHTML="";




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签