开发者

Display hint on jquery ui autocomplete?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜