EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 06:47:34 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
messager and html
Pages: [
1
]
« previous
next »
Print
Author
Topic: messager and html (Read 2991 times)
peter
Newbie
Posts: 10
messager and html
«
on:
November 09, 2017, 03:12:28 AM »
Is it possible to display HTML in a messager box. If so, how?
I am sending HTML, but it is being interpreted as text.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: messager and html
«
Reply #1 on:
November 09, 2017, 07:20:26 AM »
You can display any html code in the message dialog.
Code:
$.messager.alert({
title: 'Error',
msg: '<h2>Here is a message!</h2>',
icon: 'error'
});
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...