Total members 11734 |It is currently Mon Aug 20, 2018 9:16 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





In this example we show how to write double quotes to the web page in asp, we need special handling when displaying double quotes, following is some cases on how to print double quotes:
1- Using
Code:
Response.Write """

Print: "
2- Using
Code:
Response.Write chr(34)

Print: "
3- To display quotes with strings :
Code:
Response.Write " string1 ""string2 string3 """

Print: string1 "string2 string3"

4- Writing quotes in HTML codes
Code:
Response.Write " <img src= ""image.gif""  />"

Print : <img src= "image.gif" />




Author:
Mastermind
User avatar Posts: 2707
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : displaying double quotes in ASP
 Add double quotes to text dynamically, on page load     -  
 usage of <q> and <blockquote> to add quotes to your HTML     -  
 displaying alert box in html     -  
 Displaying Images using servlets     -  
 Displaying Images in a Gallery     -  
 ASP.NET code for filling and displaying a DataGrid     -  
 Displaying images from database instead of the url from data     -  
 PHP forum- images displaying as codes     -  
 images,videos and signatures displaying as codes     -  
 How to set double fraction Precision     -  



Topic Tags

ASP Basics, ASP Strings






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com