I am using a jQuery placeholder plugin(https://github.com/danielstocks/jQuery-Placeholder). I need to change the placeholder text with the change in dropdown menu. But it is
$(document).ready(function(){ $("input[type=search]").attr("placeholder","this is a test"); });