Bluemonkey
06-04-2003, 09:02 AM
when i run my function inside my page it opens the documnet.write in a new page. this is my code
<input name="FldDone" type="checkbox" id="FldDone" value="checkbox" onClick="javascript:UpDate('<%=rs("ID")%>');">
<script language="JavaScript">
function UpDate(ID) {
document.write ("<a href=test.asp?Action=UpDate&ID="+ID+" target=_self>UpDate</a>");
}
</script>
i need the link that the UpDate() function writes just to appear on the page not on a new page all of its own
thanks for the help
<input name="FldDone" type="checkbox" id="FldDone" value="checkbox" onClick="javascript:UpDate('<%=rs("ID")%>');">
<script language="JavaScript">
function UpDate(ID) {
document.write ("<a href=test.asp?Action=UpDate&ID="+ID+" target=_self>UpDate</a>");
}
</script>
i need the link that the UpDate() function writes just to appear on the page not on a new page all of its own
thanks for the help