This commit is contained in:
wlx 2011-10-26 06:19:31 +00:00
parent fab6e1e085
commit 45abb67c08
1 changed files with 2 additions and 2 deletions

View File

@ -40,13 +40,13 @@
</form>
<script>
function myfocus(element) {
if (element.value == element.defaultValue) {
if (element.value == '回车搜索标题和摘要') {
element.value = '';
}
}
function myblur(element) {
if (element.value == '') {
element.value = element.defaultValue;
element.value = '回车搜索标题和摘要';
}
}
</script>