Hi, there is a script in my html tag
<script type="text/javascript">
function setTaxDisplay(display)
{
window.location.href += (window.location.href.indexOf('?') > -1 ? '&' : '?') + 'taxInclude=' + display;
}
</script>
When passed to validation It returns that the ampersand there isn't valid, but it's absolutely vital to the function of the page, is there a way I can make the validator ignore this? I don't need to validate the page, I'm no JS expert at all I'm not sure if I can replace it with &
.
Thanks.