I m using jQuery s selectMenu on a select tag like this.
$( #ddlReport ).selectmenu()
在某些情况下,我想掩盖它,我怎么说。
工作:
$( #ddlReport ).selectmenu().hide();
两者都没有
$( #ddlReport ).hide();
谁?
I m using jQuery s selectMenu on a select tag like this.
$( #ddlReport ).selectmenu()
在某些情况下,我想掩盖它,我怎么说。
工作:
$( #ddlReport ).selectmenu().hide();
两者都没有
$( #ddlReport ).hide();
谁?
<span class="ui-selectmenu-button">
or (probably different selectmenu versions?)
<a ... class="ui-selectmenu ...">
在原选之后,含有人工选择。
你们可以尝试利用这一方法。
$( #ddlReport ).next( .ui-selectmenu .ui-selectmenu-button ).hide();
Though it sounds like it may use other classes (instead of -button
). This is also a kind of hackish workaround and I m sure the plugin contains some way intended to let you access the newly appended menu.
Edit:在二读时通过该守则,似乎没有任何预先规划的办法来获得该版本中的新选择。
数小时后,试图说明这一点。 最后,我用<条码>、div>、和仅显示/照搬四条。 当然,这远远没有说服力,但它使我不参加支吉支机动车。
采用更新的分类法(I m,与1.11.4版本合作),简单地使用“植被”特性:
$("#element").selectmenu( "widget" ).hide();
$("#ddlReport").parent().hide();
works for me.
亲爱的Aramatus!
我只想说,对我来说,这项工作是:
$( #ddlReport ).next( .ui-selectmenu ).hide();
没有以超文本形式存在的电子电离层。
这就是解决办法!
$("#yourSelectId").parent().hide();
以零敲碎打或强迫使用纽顿语进行总结,显然更加复杂。
The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...
How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.
I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...
I have a div <div id="masterdiv"> which has several child <div>s. Example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="...
I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.
I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...
Ok, I m stumped. Basically, this script works fine in FF, but not in IE (6,7 or 8) - in which it returns an "Object doesn t support this property or method" error. Any ideas?: function ...
What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...