开发者

Display hint on jquery ui autocomplete?

开发者 https://www.devze.com 2023-02-23 07:11 出处:网络
I\'m trying to displayhint onfocus using jqu开发者_如何学Pythonery ui autocomplete, i.e. when the user focuses on the input, it should dropdown with a text saying \"search something\"

I'm trying to display hint onfocus using jqu开发者_如何学Pythonery ui autocomplete, i.e. when the user focuses on the input, it should dropdown with a text saying "search something" Can you help please? thanks


Is it much better to put your hint on an HTML5 placeholder?

 placeholder="Search Something"


I think what you are looking for is something like a tool tip

Try yahoo tooltip

Also try putting the title attribute in the input textbox of your search

<input type='text' title='Search something' name='txtSearch'>
0

精彩评论

暂无评论...
验证码 换一张
取 消