jQuery ui dialog change title after load-callback

后端 未结 5 1149
不知归路
不知归路 2020-12-13 05:09

I like to change the title from an UI Dialog after i have submitted a form in this UI Dialog. So in the callback-function after load i should suggest, but i\'ve

5条回答
  •  一个人的身影
    2020-12-13 05:52

    Even better!

        jQuery( "#dialog" ).attr('title', 'Error');
        jQuery( "#dialog" ).text('You forgot to enter your first name');
    

提交回复
热议问题