Print Page | Close Window

ERR: pm_check_inc.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17893
Printed Date: 13 April 2026 at 6:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ERR: pm_check_inc.asp
Posted By: pbsoft
Subject: ERR: pm_check_inc.asp
Date Posted: 12 January 2006 at 6:22pm
I found that at lines 72 and 80 the Response.Write statements contain an error where the "alt" HTML attribute is specified.
 
At both lines you can read something like:
 
.....alt=" & strTxtReadMessage & " border=.....
 
This doesn't raise an error, but in the case variable contains spaces (e.g.: "This is my alternative text"), the rendered HTML is incorrect, like
 
.....alt=This is my alternative text border=.....
 
and the relative tooltip shown by the browser, obviously, is This
 
The problem is the missing couple of double quotes.
 
The code should be similar to:
 
.....alt=""" & strTxtReadMessage & """ border=.....
 
which would be rendered in HTML as
 
.....alt="This is my alternative text" border=.....
 
and the relative tooltip shown by the browser, obviously, would be This is my alternative text


-------------
http://www.pbsoft.it - PBsoft



Replies:
Posted By: WebWiz-Bruce
Date Posted: 13 January 2006 at 2:22pm
Thank-you for pointing this out, I shall update teh file with the correct number of quotes

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net