如何在jquery的输入标签中选择"title"属性? [英] How can i select 'title' attribute in an input tag in jquery?
本文介绍了如何在jquery的输入标签中选择"title"属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
就像jquery中有("#id_name"),(".class_name") (":input_type")
.. etc这样的选择器一样,我如何从输入标记中选择title
属性?
Just like we have selectors like ("#id_name"),(".class_name") (":input_type")
..etc in jquery, how can i select title
attribute from an input tag?
Ex:< input type="abc" id="xyz" title="information" >
我需要一个选择器来选择标题值.救救我.
i need a selector to select title value. Help me.
推荐答案
$('input[title="information"]');
这篇关于如何在jquery的输入标签中选择"title"属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文