how can i writ Search... in this search box like this
Last edited by omarpop23 on May 31st 2016, 10:46 am; edited 1 time in total
Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
|
$(function() {
$(function() {
var fa_textarea = document.getElementById('fa_textarea');
if (fa_textarea) {
window.fa_textarea_placeholder = 'Search...';
fa_textarea.value = fa_textarea_placeholder;
fa_textarea.onfocus = function() {
if (this.value == fa_textarea_placeholder) {
this.value = '';
}
};
fa_textarea.onblur = function() {
if (!this.value) {
this.value = fa_textarea_placeholder;
}
};
}
});
});
$(function() {
$(function() {
var fa_textarea = document.getElementById('fa_textarea');
if (fa_textarea) {
fa_textarea.placeholder = 'Search...';
}
});
});