Hi, using the code below, I am trying to show / hide the value of my search box but it doesn't seem to work?! I am using Jquery 1.9 and I have the following code in my footer..
Code:
<script type="text/javascript">
$("#searchbox").on({
focus: function() {
if (this.value==='Search...') this.value = '';
},
blur: function() {
if (this.value==='') this.value = 'Search...';
}
});
</script>
my page:
http://aet.inpreview.net/