These are a few extracts from a page I am working on. Any obvious problems?
IE9 and Firefox refuse to close the maker_prompt div...
Code:
<script type="text/javascript">
function close(id)
{
document.getElementById('id').style.display = 'none';
}
</script>
<div id="maker_prompt">Not sure what to have? Try out our meal maker!
<div id="maker_close">
<a href="#" onclick="close('maker_prompt')">x</a>
</div>
IE9 and Firefox refuse to close the maker_prompt div...