|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Building a WYSIWYG HTML Editor Part 2/2
Hi devArticles author
Your site is really great that I can learn a lot here. I've some question regards the "Building a WYSIWYG HTML Editor Part 2/2". Pls. help. In the article, I can do html encoding and save it into database. I've got no problems at all. The article's example is used for 'insert' only. Whenever I need to 'update' the recordset, I will let user to view the existing record by writing like: <option value="<%=RS("linkID")%>" <%If varID = RS("linkID") Then Response.Write("Selected") : Response.Write("")%>><%=RS("link")%></option> In the case of WYSIWYG HTML Editor, there's a iframe box there that I can not fully understand how it works! So, how could I retrieve the information from recordset to put it into the iframe box, something like <iframe id="iView" style="width: 450px; height:220px" value="<%=RS("Content")%>"></iframe> Of course the above don't work. Could you help? Many thanks. Rlee hey, just like THIS Textbox... how could I make it? Last edited by rlee : June 12th, 2003 at 05:40 AM. |
|
#2
|
|||
|
|||
|
Use src instead of value like this:
<iframe id="iView" style="width: 450px; height:220px" src="<%=RS("Content")%>"></iframe> |
|
#3
|
|||
|
|||
|
it said runtime error
>> function Init() { iView.document.designMode = 'On'; } ????????????? BTW, if I turn it on, the iframe box will shift away from the control box. Why? Many thanks. Last edited by rlee : June 12th, 2003 at 06:04 AM. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Building a WYSIWYG HTML Editor Part 2/2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|