collect iframe data to insert into db
am 24.01.2006 07:02:36 von ugesh
Hi
I have created my Rich Text Editor, and it all works fine.
However I have come accross a problem when trying to insert the data
into a database.
I have put the iframe into a form and am using the normal
request("ifame id")to try to collect the data.
however it does not seem to want to get the contents of the iframe.
Is there something special I have to do?? I have checked all my
connections and everything is working fine, I can insert a normal input
box from the same form.
Help would be greatly appreciated.
Cheers
RE: collect iframe data to insert into db
am 24.01.2006 16:49:02 von AnthonyWJones
Not everything inside a form is going to be posted back to the server on
submit.
Only those elements designed to carry form data and accept input from the
user will.
iFrame certainly isn't one of them.
You could use a hidden input and onclick of the submit read the contents
from your I frame into the value of the input.
BTW, this is hardly a DB question.
Anthony.
"ugesh" wrote:
> Hi
>
> I have created my Rich Text Editor, and it all works fine.
>
> However I have come accross a problem when trying to insert the data
> into a database.
>
> I have put the iframe into a form and am using the normal
> request("ifame id")to try to collect the data.
>
> however it does not seem to want to get the contents of the iframe.
>
> Is there something special I have to do?? I have checked all my
> connections and everything is working fine, I can insert a normal input
> box from the same form.
>
> Help would be greatly appreciated.
>
> Cheers
>
>