Please visit this location (use IE browser - sorry about language on it)
http://www.kvadrati.com/advert_test.php
and if you can please help with advice.
There is a problem with this IFRAME object (text editor). First I had a problem with getting text from that object with PHP - didn't know how, but then I use JavaScript and when click SUBMIT button (LEFT BLUE BUTTON AT BOTTOM) I write whole content of IFRAME to HIDDEN object like this:
document.advertForm.description.value = document.frames('idEdit').document.body.innerHTML;
And in BODY "onLoad" method I do the opposite thing: writting from HIDDEN to IFRAME (if I didn't fill RED FIELDS in form I will stay on same page with notes about that - so I need to display content of IFRAME again).
Everything works OK, except one thing...
If I write double quotes (or single) in IFRAME I will get an error when writting to HIDDEN and retrieving because of these quotes. How I can solve this?
IS there any other way to catch content of IFRAME with PHP instead of writting to hidden object with JS?