Forum Moderators: mack
I think there is a variable that is being set in the loadwindow function that is affecting this, but don't know much beyond that.
here's what the code snippet looks like:
<script>
function loadwindow(){
window.open("Pop_up1.html","","width=400,height=350,status=1")
}
</script>
<form><input type="button" onClick="loadwindow()" value="See Description"></form>
<<new row, cell, etc.>>
<script>
function loadwindow(){
window.open("Pop_up2.html","","width=400,height=350,status=1")
}
</script>
<form><input type="button" onClick="loadwindow()" value="See Description"></form>
The problem is that its loading Pop_up2.html for both buttons.
I know I need to actually learn this stuff and I'm trying the easy way out, but just this once please help! :)