Editing html content in IFRAME

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
ginnyows
Forum Newbie
Posts: 4
Joined: Thu Nov 06, 2003 5:06 am

Editing html content in IFRAME

Post by ginnyows »

i've been having this problem with IFRAME...trying to create a content editor, which will allow users to edit the selected html file in an iframe...
however...the file wouldn't load. if it does, it is not editable.

help, anyone???

thanks...
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Perhaps displaying the code regarding how you actually try to display the html could help.

Personally I'd use a <textarea> for that, as an iframe is a different page, not a form element, hence messy (imho) to work with. Just a personal note tho. ;)
ginnyows
Forum Newbie
Posts: 4
Joined: Thu Nov 06, 2003 5:06 am

Post by ginnyows »

i've tried <textarea>, but just felt like trying something new...
just curious...as no matter how i tried..iframe just cant work....
thanks anyway...
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

ginnyows wrote:i've tried <textarea>, but just felt like trying something new...
just curious...as no matter how i tried..iframe just cant work....
thanks anyway...
Good (and interesting) approach. New is better... or so they say.

Do let us know what you've come up with so far. More eyes looking, more comments...
ginnyows
Forum Newbie
Posts: 4
Joined: Thu Nov 06, 2003 5:06 am

Post by ginnyows »

i'm now using text area. I passed the html contents into the text then embed an iframe in it. i then passed the contents to the iframe.

it's working!!!!
Post Reply