EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 04:09:49 PM
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
>
Load content into dialog
Pages: [
1
]
« previous
next »
Print
Author
Topic: Load content into dialog (Read 7401 times)
arma
Full Member
Posts: 110
Load content into dialog
«
on:
November 10, 2013, 04:16:55 PM »
Hi,
What is the proper way to load dialog content from local html rather than loading from url? i don't find it in the doc.
rather than $('#dd').dialog('refresh', 'new_content.php');
Something like :
$('#dd').dialog('refresh/load', '<div>some html code</div>');
Thanks.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Load content into dialog
«
Reply #1 on:
November 11, 2013, 12:58:44 AM »
Try this:
Code:
$('#dd').dialog({content:'<div>some html code</div>'});
Logged
yupengfei
Newbie
Posts: 10
Re: Load content into dialog
«
Reply #2 on:
November 15, 2013, 02:03:01 AM »
Try this:
$("#dg").dialog('href', 'http://');
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...