Click here to Skip to main content
15,914,447 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get Access() Pin
balaji baskar4-Oct-07 13:24
balaji baskar4-Oct-07 13:24 
QuestionArray Sort Pin
Scott_Roberts4-Oct-07 8:51
Scott_Roberts4-Oct-07 8:51 
AnswerRe: Array Sort Pin
nlarson114-Oct-07 10:29
nlarson114-Oct-07 10:29 
QuestionSelecting multipe parameters Pin
TAK784-Oct-07 7:24
TAK784-Oct-07 7:24 
AnswerRe: Selecting multipe parameters Pin
Dave Kreskowiak5-Oct-07 1:45
mveDave Kreskowiak5-Oct-07 1:45 
QuestionSMO Sample Pin
Naderrafiee4-Oct-07 6:08
Naderrafiee4-Oct-07 6:08 
AnswerRe: SMO Sample Pin
Dave Kreskowiak5-Oct-07 1:44
mveDave Kreskowiak5-Oct-07 1:44 
QuestionVB/ASP problem - HTML strings in ASP Pin
Dmitry Khudorozhkov4-Oct-07 5:51
Dmitry Khudorozhkov4-Oct-07 5:51 
Hi everyone,

In the ASP page, I store the output (in the form of html strings) from the rich-text editor in a database; when time comes, I retrieve the required HTML string (I use VB as a server-side language) (htmlCode variable.) The I wish to pass this htmlCode to some JavaScript function:
<body onload="populateWithHTML('<%=htmlCode%>')">

BUT! Here is the problem. This html string can contain " (quote) and ' (apostrophe) symbols, that break the resulting HTML.

How should I fix this? Thank you much in advance!

-------------------------
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).

AnswerRe: VB/ASP problem - HTML strings in ASP Pin
nlarson114-Oct-07 7:45
nlarson114-Oct-07 7:45 
GeneralRe: VB/ASP problem - HTML strings in ASP Pin
Dmitry Khudorozhkov4-Oct-07 7:55
Dmitry Khudorozhkov4-Oct-07 7:55 
GeneralRe: VB/ASP problem - HTML strings in ASP Pin
nlarson114-Oct-07 8:00
nlarson114-Oct-07 8:00 
GeneralRe: VB/ASP problem - HTML strings in ASP Pin
Dmitry Khudorozhkov4-Oct-07 8:05
Dmitry Khudorozhkov4-Oct-07 8:05 
GeneralRe: VB/ASP problem - HTML strings in ASP Pin
nlarson114-Oct-07 8:11
nlarson114-Oct-07 8:11 
Questionreport generation using dataenvironment Pin
devendra20uk4-Oct-07 2:48
devendra20uk4-Oct-07 2:48 
AnswerRe: report generation using dataenvironment Pin
mhaneefa4-Oct-07 9:45
mhaneefa4-Oct-07 9:45 
QuestionUpdating a datagridview with the value selected in a combo box Pin
Mr Oizo4-Oct-07 2:27
Mr Oizo4-Oct-07 2:27 
QuestionTo remove xmlns value from Xml file Pin
Sam.M4-Oct-07 1:39
Sam.M4-Oct-07 1:39 
AnswerRe: To remove xmlns value from Xml file Pin
Dave Kreskowiak4-Oct-07 4:08
mveDave Kreskowiak4-Oct-07 4:08 
AnswerRe: To remove xmlns value from Xml file Pin
richardw484-Oct-07 5:00
richardw484-Oct-07 5:00 
GeneralRe: To remove xmlns value from Xml file Pin
ALI_SHAH9-Dec-09 5:31
ALI_SHAH9-Dec-09 5:31 
QuestionCurrent path of the crystal report, Pin
ShuklaGirish4-Oct-07 0:41
ShuklaGirish4-Oct-07 0:41 
AnswerRe: Current path of the crystal report, Pin
ChandraRam4-Oct-07 1:07
ChandraRam4-Oct-07 1:07 
AnswerRe: Current path of the crystal report, Pin
Dave Kreskowiak4-Oct-07 4:07
mveDave Kreskowiak4-Oct-07 4:07 
Questionline continuation character Pin
MissionSuccess4-Oct-07 0:25
MissionSuccess4-Oct-07 0:25 
AnswerRe: line continuation character Pin
Christian Graus4-Oct-07 1:08
protectorChristian Graus4-Oct-07 1:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.