Xem thử kết quả tiện ích








© tranphucminh.blogspot.com

Xem code
<center>
<div class='content'>
<table style='background: none repeat scroll 0% 0% rgb(235, 235, 234); border: 1px solid rgb(149, 148, 146); width: 200px;'><tbody>
<tr> <td style='padding: 10px;' valign='top'>
<form method='post' name='form1'>
<textarea name='code' onclick='focus(this.code)' style='border: 1px solid rgb(185, 184, 182); height: 300px; padding: 5px; width: 200px;' wrap='soft'>Nhập code tại đây!</textarea></form>
</td> <td style='padding: 10px;' valign='top'>
<iframe frameborder='0' name='preview' src='about:blank' style='background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(185, 184, 182); height: 300px; padding: 5px; width: 225px;'/></td> </tr>
</tbody></table>
<button onclick='preview.document.write (document.getElementsByTagName (&apos;TEXTAREA&apos;)[0].value); preview.document.close(); preview.focus()'>Xem thử</button><button onclick='window.document.form1.code.value=&apos;&apos;;preview.document.write (document.getElementsByTagName (&apos;TEXTAREA&apos;)[0].value); preview.document.close(); preview.focus()'>Xóa tất cả</button><button onclick='window.location.href=window.location.href'>Làm lại</button> &#169; tranphucminh.blogspot.com</div>
</center>

0 nhận xét: