jQuery UI风格的文本输入框 [英] jQuery UI styled text input box
本文介绍了jQuery UI风格的文本输入框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
jQuery UI使按钮看起来不错, $('button')。button();
。
jQuery UI makes buttons look nice with $('button').button();
.
有没有什么可阻止你执行 $($)。
Is there an equivalent for text input boxes?
推荐答案
输入)。button() ...我喜欢这个:
There's nothing to stop you from doing $("input").button()
... I like this:
$('input:text, input:password')
.button()
.css({
'font' : 'inherit',
'color' : 'inherit',
'text-align' : 'left',
'outline' : 'none',
'cursor' : 'text'
});
这篇关于jQuery UI风格的文本输入框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文