set that button label programmatically with jQuery
I use dialog with the help of some jentlemen here.
I added a button and I attach its html representation from Inspect Element. There is no label on the button but if I manipulate and add it manually (as seen here:DIPLAYED TEXT) it appears on the button
My question: How do I set that label programmatically with jQuery?
Regards
I. Sher
<button type="button" text="Get" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text"></span>DIPLAYED TEXT</button>