Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter options issue IE 8 #74

Open
GoogleCodeExporter opened this issue Nov 27, 2015 · 2 comments
Open

Filter options issue IE 8 #74

GoogleCodeExporter opened this issue Nov 27, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using IE 8 or below

What is the expected output? What do you see instead?

-Expected output is checkbox filtering options, they are being dynamically 
built up but not being displayed in IE8, works fine in all other browsers. 

What version of the product are you using? On what operating system?

-V3 GMap with filtering. 

Please provide any additional information below.

-See screen shot of issue in IE 8

I have tried to narrow down the issue to see where the code is breaking. It 
seems that IE 8 doesn't like this statement. 

$('input:checkbox:checked') 



Original issue reported on code.google.com by [email protected] on 23 May 2013 at 9:10

Attachments:

@GoogleCodeExporter
Copy link
Author

I'm also having the same problem with IE8 and below only.

Did you happen find a solution?

Original comment by [email protected] on 12 Jun 2013 at 4:15

@GoogleCodeExporter
Copy link
Author

Yes I managed to get a fix for it, this issue was with it was the .append it 
used to build up the checkbox options and labels 

I changed the following and this fixed the issue for me: 

$('#radios').append(('<label style="margin-right:5px;display:block;"><input 
type="checkbox" style="margin-right:3px" value="{0}"/>{1}</label>').format(tag, 
tag));

To: 

var checkString = '';

checkboxItemString = '<label style="margin-right:5px;display:block;"><input 
type="checkbox" style="margin-right:3px" value="{0}"/>{1}</label>'

var div = document.getElementById("radios");
var content = div.innerHTML;
div.innerHTML = content + checkboxItemString;

});

Original comment by [email protected] on 13 Jun 2013 at 2:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant