dialog jquery - pass php output to it, how ?
Posted
by
Kamil Zytkiewicz
on Stack Overflow
See other posts from Stack Overflow
or by Kamil Zytkiewicz
Published on 2011-02-25T15:23:21Z
Indexed on
2011/02/25
15:25 UTC
Read the original article
Hit count: 384
I got this code
/* Popup for hot news */
$(document).ready(function() {
var $dialog = $('<div></div>')
.html('text to be shown')
.dialog({
autoOpen: false,
title: 'Tablica nowosci'
});
This code is in my js files included by header.php. How to pass php output to this function ?
Inputing in .html('') above doesnt solve anything. Please help.
© Stack Overflow or respective owner