|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
WYSIWYG and ASP
I'm trying to incorporate the WYSIWYG editor into an ASP page for posting news. I have no trouble pulling the data from the iframe tag and putting it into the database, the trouble I'm having is pulling data from the database and inserting it into the iframe.
Since the iframe is loaded on the fly, is there any way that you can set a variable with the data from the database and have the iframe pull it in when it's created? *sigh* Thomas G Sluder Conover, NC, USA |
|
#2
|
|||
|
|||
|
Tom, I'm wanting to do the same thing!
My roommate suggested that I get the data from the database, place it in a div tag (or something) and then pass that info to the iframe. I was thinking that you could set the iframe to an asp page and have that asp page request the data from the database based on an ID that you pass to it. What do you think? -Nate |
|
#3
|
|||
|
|||
|
I have this working very nicely. anyone that wants to see how i've done it can IM me. my IM Screen names are in my profile
-Nate |
|
#4
|
|||
|
|||
|
If you search our forums this topic has been covered a few times
create a new file, that queries the data, and in the ifame tag, src="tempfile.asp" this will display and allow you to edit everything in the file |
|
#5
|
|||
|
|||
|
Quote:
If I write a recordset and request a ID from a link (<%=Request.QueryString("ID")%>) I get a failure, but when I write the recordset to only receive a specific ID (ID=30) for example it works. How can I write the tempfile.asp to request different ID's from a link? Or do I have to make the link different? I'm using ASP, not .NET. I'm a student and doing this to learn so I don't wan't to buy a solution, I wan't to learn it. Thanx anyone. |
|
#6
|
|||
|
|||
|
hi EiSa,
try this link... it should help you with what you're after...! http://www.devarticles.com/forum/sh...s=&threadid=537 Hope it helps!! |
|
#7
|
|||
|
|||
|
i mean like this
<iframe src="load.asp"> then what ever is in load.asp you will be able to edit it! very easy |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > WYSIWYG and ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|