I'm trying to dynamically write some links to a div element and then show it and I'm not having much luck:
It doesn't like me doing the write but the display portion works. I've read on the net that this is hard to do, but couldn't find a solid description of how to get it accomplished. I may end up just reloading the page and doing it with PHP, but I was hoping there was a simple solution to this.Code:function showsubmenu(linkmode) { document.getElementById('querysubmenu').write('ha'); document.getElementById('querysubmenu').style.display = 'block'; }
Help?




Reply With Quote