Jun 26, 2011

Pengen Posting Pake Kode HTML? Nieh Toolnya....

Tool ini otomatis setelah klik Parse HTML kodenya akan langsung keluar.


Kalau temn 
pengen punya tool'nya sendiri ni kodenya...

<center>
<script type="text/javascript">
function convert(){var ele1 = document.getElementById("somewhere");var replaced;replaced = ele1.value;replaced = replaced.replace(/&/ig, "&amp;");replaced = replaced.replace(/</ig, "&lt;");replaced = replaced.replace(/>/ig, "&gt;");replaced = replaced.replace(/"/ig, "&quot;");replaced = replaced.replace(/&#177;/ig, "&plusmn;");replaced = replaced.replace(/&#169;/ig, "&copy;");replaced = replaced.replace(/&#174;/ig, "&reg;");replaced = replaced.replace(/ya'll/ig, "ya'll");ele1.value = replaced;}
</script><table border="0" cellpadding="0" cellspacing="0" style="width: 500px;"><tbody>
<tr> <td valign="top" width="500"><textarea cols="70" id="somewhere" rows="15" style="background: none repeat scroll 0% 0% rgb(248, 248, 248); border: 2px solid rgb(204, 204, 204);"></textarea><input onclick="convert();" type="button" value="Parse HTML" /></td> </tr>
</tbody></table>
<div style="text-align: left;">



Jangan lupa tinggalkan jejakmu lewat komentar...mksh

No comments:

Post a Comment

Kami sangat berterima kasih jika anda bersedia memberikan komentar, tidak hanya sekedar mengunjungi blog ini kemudian meninggalkannya begitu saja.
BUDAYAKAN KOMENTAR.

SUKSES BUAT SEMUA..................