js调整
This commit is contained in:
parent
fab6e1e085
commit
45abb67c08
|
@ -40,13 +40,13 @@
|
||||||
</form>
|
</form>
|
||||||
<script>
|
<script>
|
||||||
function myfocus(element) {
|
function myfocus(element) {
|
||||||
if (element.value == element.defaultValue) {
|
if (element.value == '回车搜索标题和摘要') {
|
||||||
element.value = '';
|
element.value = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function myblur(element) {
|
function myblur(element) {
|
||||||
if (element.value == '') {
|
if (element.value == '') {
|
||||||
element.value = element.defaultValue;
|
element.value = '回车搜索标题和摘要';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue