Forum : add two number and show result in another browser window
Brief description  about Online courses   join in Online courses
View Sri Bhargavi  Peesapati 's Profile

add two number and show result in another browser window

Pls tell me what's wrong in this code??

<html>
<head>
<title>assign-3(f)</title>

<script language="JavaScript">
var a = 6;
var b = 8;
var c = a b;
w=window.open(",",'width=200,height=100');
w.document.open();
w.opener.document.write(c);
w.document.close();
</script>

</head>
</html>
Asked by Sri Bhargavi Peesapati | Jul 10, 2010 |  Reply now
Replies (2)
View teacher siliconindia 's Profile
Hi Bhargavi

You have been replied through mail .
Jul 14, 2010
View sri-bhargavi peesapati 's Profile
pls assume 'plus' operator while adding the values...here its not displaying ..
Jul 10, 2010