Bonjour à tous,
Question toute bête, comment afficher du php dans ma boite de dialog jquery.
exemple :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 <!DOCTYPE html> <html> <head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#dialog").dialog( ); }); </script> </head> <body style="font-size:62.5%;"> <div id="dialog" title="Dialog Title"><?php echo "hello"; ?></div> </body> </html>
Bon naturellement le code est fauxmais c'est pour imager
Merci par avance
Partager