hi at all, i'm new of jquery, i try to load one page on a dialog the code by
this code:
<script type="text/javascript">
function loadContent(id, ed, ad) {
$("#dialog").load("det.php?conto="+id+"&data_inf="+ed+"&nr_riga="+ad+"",
function() {
$(this).dialog({
modal:true,
title:"Modifica Dettaglio",
width:430,
buttons: {
"Chiudi": function() {
$(this).dialog("close");$(this).dialog("destroy"); }
}
});
})
}
</script>
and the page i load is that:
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<script language="javascript" type="text/javascript"
src="niceforms.js"></script>
<style type="text/css" media="screen">@import
url(niceforms-default.css);</style>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1 " />
<title>Contenzioso - Gestione Contenzioso</title>
<?php
function data_stamp($data_gest){
$di= substr($data_gest,8,2);
$mi= substr($data_gest,5,2);
$yi= substr($data_gest,0,4);
$data_stamp = $di."/".$mi."/".$yi;
return $data_stamp;
}
$conto = $_GET['conto'];
$data_inf = $_GET['data_inf'];
$riga = $_GET['nr_riga'];
include('tabella.class');
?>
</head>
<body>
<table>
<tr>
<td valign="top">
<form class="niceform" action="index.php" method="GET">
<label for="codice"> Codice </label><br>
<input type="text" name="codice" id="codice" value="<? echo $codice;?>"
size="10"><br>
<label for="rag_soc">Ragione Sociale</label><br>
<input type="text" name="rag_soc" value="<? echo $rag_soc;?>" size="30"><br>
<label for="data_inf">Data Inserimento</label><br>
<input type="text" name="data_inf" value="<? echo data_stamp($data_inf);?>"
size="10" onChange="DataTest(this.value, this)"><br>
<label for="data_rif">Data Visualizzazione</label><br>
<input type="text" name="data_rif" value="<? echo data_stamp($data_rif);?>"
size="10" onChange="DataTest(this.value, this)"><br>
<label for="note">Note</label><br>
<textarea name="note" id="note" rows="4" cols="60"> <? echo $note;?>
</textarea>
<input type="hidden" name="conto" value="<? echo $conto;?>">
<input type="hidden" name="nr_riga" value="<? echo $riga;?>">
<br>
<input type="checkbox" name="sett" id="check1" value="sett"><label
for="check1">Ripeti Settimana Seguente</label><br>
<input type="checkbox" name="mese" id="check2" value="mese"><label
for="check2">Ripeti Mese Seguente</label><br>
<br>
<input type="submit" name="modifica" value="Modifica"><input type="submit"
name="elimina" value="Elimina">
</form>
<br>
</td>
</tr>
</table>
</body>
</html>
all work fine, but the page displaied in the dialog loss is css formatting.
this the image that show all ^_^
p.s. sorry for my bad english
page alone: http://www.nabble.com/file/p23293590/pag1.JPG pag1.JPG
page in the dialog: http://www.nabble.com/file/p23293590/pag2.JPG pag2.JPG
--
View this message in context:
http://www.nabble.com/dialog-problem-tp23293590s27240p23293590.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---