jwysiwyg to php
Posted
by perses
on Stack Overflow
See other posts from Stack Overflow
or by perses
Published on 2010-06-06T06:26:17Z
Indexed on
2010/06/06
6:32 UTC
Read the original article
Hit count: 358
I am using this jQuery based jWysiwyg.
http://code.google.com/p/jwysiwyg
How do I pass the value of $('#wysiwyg').val() to php script. For example to show the value of jwysiwyg in an alert box, I am using
<form name="form1" method="post" action="sendmail.php">
<textarea name="wysiwyg" id="wysiwyg" rows="5" cols="103"></textarea>
<input type="submit" name="Submit" value="Login"></input>
<input type="button" value="Alert HTML" onclick="alert($('#wysiwyg').val());" />
</form>
What I need is how to pass value of jwysiwyg's value in submit control and how do I call "logout.php" on pressing of a button?
© Stack Overflow or respective owner