1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <li>
donnee l' ID : <input class='itext' type='text' size='10' value='""' id='p10' title='Will be converted to: java.lang.String'/>
<input class='ibutton' type='button' onclick='GetVoisine.getVoisineDWR( $("p10").value , reply1);' value='Execute' title='Calls GetVoisine.getVoisineDWR(). View source for details.'/>
<script type='text/javascript'>
var reply1 = function(data)
{
if (data != null && typeof data == 'object')
{ alert (dwr.util.toDescriptiveString (data, 2) );
dwr.util.setValue('result', dwr.util.toDescriptiveString(data, 2));
document.getElementById('idd').value=data ;
}
else dwr.util.setValue('d1', dwr.util.toDescriptiveString(data, 1));
}
</script>
<span id='d1' class='reply'></span>
</li>
<display:table id="idd" name="result" export="true"
requestURI="/ConsultationConditionnee.do" >
</display:table> |
Partager