j2jcs
01-09-2008, 06:35 PM
Hi there,
I am currently beginning to make myself a basic WYSIWYG editor, and I need a bit of assistance.
I need to know how to get the contents of an iframe into a PHP variable.
For e.g like you use $_POST['inputname']; to get the contents of an input field in a form, how can I get the contents from an iframe instead.
This is when designmode is switched on in javascript for the iframe, so you can type text into it, not just a general average iframe.
All assistance/knowledge on this is much appreciated. :)
I am currently beginning to make myself a basic WYSIWYG editor, and I need a bit of assistance.
I need to know how to get the contents of an iframe into a PHP variable.
For e.g like you use $_POST['inputname']; to get the contents of an input field in a form, how can I get the contents from an iframe instead.
This is when designmode is switched on in javascript for the iframe, so you can type text into it, not just a general average iframe.
All assistance/knowledge on this is much appreciated. :)