[share] Mudahnya Membuat Tiny MCE dengan Javascript dan css

function data(){
rifki.document.designMode = 'On';
function Tebal(){
function Garis_bawah(){
function Miring(){
function submit_form(){
var a = document.getElementById("form");
a.elements["ta"].value = window.frames['rifki'].document.body.innerHTML;

<body onLoad="data();">
<form action="tujuan.php" name="form" id="form" method="post">
<input type="button" onClick="Tebal()" value="B">
<input type="button" onClick="Garis_bawah()" value="U">
<input type="button" onClick="Miring()" value="I">
<textarea style="display:none;" name="ta" id="ta" cols="100" rows="14"></textarea>
<iframe name="rifki" id="rifki" style="border:#000000 1px solid; width:300px; height:100px;"></iframe>
<input type="button" value="Simpan" onClick="javascript:submit_form();"/>


Leave a comment

1 Comment

  1. Reblogged this on Dinesh Ram Kali..


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: