Page 1 of 1

Dialog

Posted: Mon Jun 02, 2025 11:19 am
by barsyr
Hello,
I'm using the dialog-component and set it to Type 'bootstrap'.
When you set it to 'jQuery UI', I can change the title in javascript:
$("#Dialog01").dialog('option', 'title', 'ChangedTitle');
But how can this be done if I set Type to 'bootstrap'.

I want to do this, because I want to change the language of the title according to the visitor's language.
So this should be done in javascript (in 'jQuery UI' -> OK, 'bootstrap' -> how do I change it ?

Thanks for helping me out with this.

Regards
Bart

Re: Dialog

Posted: Mon Jun 02, 2025 12:55 pm
by Pablo
This may be helpful:
https://getbootstrap.com/docs/5.3/components/modal/

Note that this is not specific to WWB. Any code that work elsewhere will also work in WWB.

Re: Dialog

Posted: Mon Jun 02, 2025 1:56 pm
by barsyr
Super, thank you very much!
Exactly what I needed.