Escape character


hi,

does know if coldfusion contains escape character double quote (") characters? (it's got to)

i've got web page form text box , i'm trying pre-load value. i'm able fine using value attribute of input tag, whenever data attempt load contains double quote, data not rendered correctly in html. because input tag's value attribute interprets first double quote encounters in data end of text needs include in attribute.

so thought try replace double quotes in data appropriate html double quote escape character (") , pass corrected string value attribute.

so far code looks this:

replace(my_string,"need here",""")

but of course need determine cfml escape character can plug in "need here" above.

anybody know?

thanks!

nevermind!

no sooner post question, try new search , find answer. hope didn't waste anyone's time this.

the function htmleditformat(stringtoformat) takes care of making string html friendly.

thanks!





just washing car


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support