//For Search textbox placeholder random value
var myPlaceHolderArray = ['Hotels in New York...', 'Hotels in San Francisco...', 'Hotels Near Disney World...', 'Hotels in Atlanta...', 'Hotels in San Antonio...', 'Hotels in Boston...','Hotels in Los Angeles...'];
var rand = Math.floor(Math.random() * myPlaceHolderArray.length);
var Placeholdervalue = myPlaceHolderArray[rand];
$('#SearchTextBox').attr("placeholder", Placeholdervalue).blur();
//End
0 Comments