質問

I was wondering how to allow jquery ui button to allow newline.

Before turning to jquery button.

<input type="button" id="btnFX" value="Button Name
With 
New Line" />

turning to jquery button

$('#btnF9').removeAttr('disabled');
$('#btnF9').button();
役に立ちましたか?

解決

It's nothing to do with jQuery really:

<button type="button" id="btnFX" >Button Name<br />With<br />New Line</button>
<script> 
    $(function() {
        $("#btnFX").button();
    });
</script>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top