preview problem
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14370
Printed Date: 29 March 2026 at 7:41am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: preview problem
Posted By: brass
Subject: preview problem
Date Posted: 22 March 2005 at 10:37am
Hi Im having a bit of a problem with the new RTE. Overall it's
fantastic, I love it, but for some reason the Preview function seems to
be messing up on me.
When I click on the preview button, it opens a window but displays
nothing in it (Source code just looks like
<html></html>). Then if I click on the Submit form
button after that, it opens a proper preview window. Of course
though, that means that my Submit button no longer works for submitting
because now it only opens preview windows. Any idea what the
problem might be? Almost everything else seems to work
wonderfully apart from the preview button problem. I guess I
should also mention that Im using IE 6.0
Also one other small thing is that there seems to be a comma appending
to the end of my textarea when I submit the information to my
database. This could just be a problem with my own ASP, but if
anyone else has had a similar problem Id appreciate any suggestions
that might help me debug this a little quicker. Thanks.
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 March 2005 at 12:55pm
It sounds like some of your own javascript in the form you are placing
the RTE into is interfering with the RTE's javascript. Probably
something to do with if you have your own javascript to handle form
submission.
The problem with the comma, and possibly connected to your
submit/preview problem, is usually coursed if there is multiple elements
in your form with the same name. Make sure that you do not have any
elements in your own form that have the same name or ID tag as those
used by the RTE.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: brass
Date Posted: 22 March 2005 at 3:36pm
Well I still havent figured out what was causing the preview
problems. I dont have any other javascript on that page that I
know of. It's not a problem though as Ive just disabled the
preview button entirely. I only plan to use this for posting
short announcements so alot of the higher functions like previewing or
file uploading are not really necessary anyway.
The comma problem you were spot on. I had a leftover hidden field
that I had forgot to cleanup from a previous experiment and it had the
same name as the RTE area. Thanks.
|
|