Menu

#6 single quotes in searchbox cause errors

open
nobody
None
5
2005-09-07
2005-09-07
JT Moree
No

>> single quotes in a search box are causing a
javascript error.

>> missing ; before statement

>> it says line 0 again so I can't help you any more
than that. but to recreate it just create an entry
with 1 single quote in a searchbox and when the mouse
moves over the dropdown it will give the error.
>>
>> My guess is that you are using single quotes in some
of your js code. I just had to go through all mine and
change to dquotes in some places.

I thought I had fixed this, but it might be I didn't
check/catch the input data
as being the problem. Yes, I'm using single quotes to
build up my eval
statements that are used to process the search box
stuff. I'll try to look into
this this week.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.