window.open() not working

window.open() not working

View Answers

November 19, 2009 at 11:08 AM

Hi Friend,

Change your function name as it contradicts with the predefined method window.open().

<html>
<head>
<script>
function hello() {
window.open("Popup.jsp","details","width=400,height=300,resizable=yes");
}
</script>
</head>
<input type="button" value="Get Client Details" onClick="hello();">

Thanks









Related Tutorials/Questions & Answers:

Ads