js调整
This commit is contained in:
parent
fab6e1e085
commit
45abb67c08
|
@ -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>
|
Loading…
Reference in New Issue