02-03-2011, 13:36
zrobiłem takie coś , i dalej nic . Dzięki za wskazówki , możesz spojrzeć na ten tekst:
Kod programu:
<html>
<head>
<script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
function wypisz() {
inyMCE.init({
mode : "textareas",
theme : "advanced",
});
}
document.getElementById('guzik').onclick = wypisz
</script>
</head>
<body>
<!--powinno widnieć tylko pole tekstowe-->
<form method="post" action="somepage" >
<textarea align="center"name="contect" cols=50 rows=15 ></textarea>
</form>
<input type="button" id="guzik" value="kliknij" />
</form>
</body>
</html>
Kod programu:
<html>
<head>
<script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
function wypisz() {
inyMCE.init({
mode : "textareas",
theme : "advanced",
});
}
document.getElementById('guzik').onclick = wypisz
</script>
</head>
<body>
<!--powinno widnieć tylko pole tekstowe-->
<form method="post" action="somepage" >
<textarea align="center"name="contect" cols=50 rows=15 ></textarea>
</form>
<input type="button" id="guzik" value="kliknij" />
</form>
</body>
</html>