• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

This & That


wac

Senior Member
#1
I'm working on a site and I've got a drop down form you can bring up by clicking 'Get a Quote' but as you'll see, when you select 'Sale & Purchase' it becomes 'Sale & Purchase' despite the fact the html is correct to the best of my knowledge.
http://wacdesign.com/pps/co/
 
S

Squiddy

Guest
#2
How are you editing the code? Is it in a WYSIWYG editor or are you modifying the source code directly?
 

wac

Senior Member
#3
Both, I know this is generally a wysiwyg problem where &'s are entered straight into the source code. But not on this occasion.
 
S

Squiddy

Guest
#4
The only thing I can think of is that some how the javascript is interfering in some way. How is the text (where it shows &) actually placed on the page, does javascript pull the name from the options list or anything like that? I disabled all JS and it displays fine once you've clicked on Sales & Purchase (shouldn't that be purchases?) as you can see here: http://puu.sh/2oPmT
I would recommend disabling some of those many .js files that you link to one by one and see if you can't find the culprit. There's too much of it for me to go through, sorry!
 

Levi

Moderator
Staff member
#5
line 274 (in notepad++) there is <input value="Sale[color=#ff0000;] &amp;amp; [/color]Purchase". Wouldn't this make the it come out as &amp;. Delete the second amp and it should become &