Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery ui jquery按钮如何具有换行符?_Jquery Ui_Button_Newline - Fatal编程技术网

Jquery ui jquery按钮如何具有换行符?

Jquery ui jquery按钮如何具有换行符?,jquery-ui,button,newline,Jquery Ui,Button,Newline,我想知道如何允许jQueryUI按钮允许换行 在转到jquery按钮之前 <input type="button" id="btnFX" value="Button Name With New Line" /> 实际上,这与jQuery无关: <button type="button" id="btnFX" >Button Name<br />With<br />New Line</button> <script>

我想知道如何允许jQueryUI按钮允许换行

在转到jquery按钮之前

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

实际上,这与jQuery无关:

<button type="button" id="btnFX" >Button Name<br />With<br />New Line</button>
<script> 
    $(function() {
        $("#btnFX").button();
    });
</script>
<button type="button" id="btnFX" >Button Name<br />With<br />New Line</button>
<script> 
    $(function() {
        $("#btnFX").button();
    });
</script>