我对JS一无所知。但是我的Ruby需要加一行代码。我有以下的html
。
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
<div class="ui-dialog-buttonset">
<button class="otherButtonClass ui-state-hover ui-state-focus" type="button" role="button" aria-disabled="false">
<button class="otherButtonClass" type="button" role="button" aria-disabled="false" style="display: none;">
<button class="cancelButtonClass" type="button" role="button" aria-disabled="false">
</div>
</div>
我想要JS代码使第一和第二个按钮可见。代码应该怎么写?
请帮忙。
$(".otherButtonClass").show().button("enable");
即可。 - Bergirole="button"
жҲ–aria-disabled
еұһжҖ§гҖӮrole="button"
жҳҜиҮӘеҠЁзҡ„гҖӮеҜ№дәҺеұһжҖ§пјҢиҜ·дҪҝз”Ёdisabled
иҖҢдёҚжҳҜaria-disabled
гҖӮжңүе…іиҜҰз»ҶдҝЎжҒҜпјҢиҜ·еҸӮи§ҒеңЁHTMLдёӯдҪҝз”ЁWAI-ARIAгҖӮ - Alohci