witam
Jak pobrac aktualną wartość z pola ktore jest jako tiny_mce lub fck i przed chwila cos tam napisalismy?
Stachu
<form action="index.php" method="post"> <script type="text/javascript"> var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = 300 ; oFCKeditor.Value = 'Pole edycji' ; oFCKeditor.Create() ; </script> <input type="submit" name="wyslij" value="Zapisz"> </form>
<?php //index.php ?> <form action="index.php" method="post"> <script type="text/javascript"> var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = 300 ; oFCKeditor.Value = 'Pole edycji' ; oFCKeditor.Create() ; </script> <input type="submit" name="wyslij" value="Zapisz"> </form>