I have no idea about JS. But in my Ruby I need one line of code. I have below 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>
I want the JS code to make the first and second buttons to make them visible. What will be the code?
Please, help.
source share