Note that there are some explanatory texts on larger screens.

plurals
  1. POThis code does not print. Why?
    primarykey
    data
    text
    <p>Here is the code </p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script language="JavaScript"&gt; &lt;!-- function myFunc() { var doc = parent.frames[1].document; doc.open(); doc.write(&lt;html&gt;&lt;body class="dialogBody"&gt;&lt;form&gt;&lt;table width="100%"&gt;&lt;tr class="colHeader" width="100%"&gt;&lt;td align=left valign=middle&gt;&amp;nbsp;&lt;/td&gt;&lt;td height=20px align=left valign=middle&gt;Cell2&lt;/td&gt;&lt;/tr&gt;&lt;tr class=normalRow&gt;&lt;td width=20 height=20px align=left valign=middle&gt;&lt;input type=radio height=12px width=12px align =center vlign=middle name='select' value=0/&gt;&lt;/td&gt;&lt;td height=20px align=left valign=middle&gt;Ed&lt;/td&gt;&lt;/tr&gt;&lt;tr class=altRow&gt;&lt;td width=20 height=20px align=left valign=middle&gt;&lt;input type=radio height=12px width=12px align =center vlign=middle name='select' value=1/&gt;&lt;/td&gt;&lt;td height=20px align=left valign=middle&gt;Ed2&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt;); doc.close(); } var topFrame = "&lt;a href='#' " +"onClick='parent.myFunc()'&gt;Click me&lt;/a&gt;"; var botFrame = ""; myFunc(); //--&gt; &lt;/script&gt; &lt;/head&gt; &lt;frameset rows="50%,*"&gt; &lt;frame src="javascript:parent.topFrame"&gt;&lt;input type="button" value="Click me!" onclick="myFunc()" /&gt;&lt;/frame&gt; &lt;frame src="javascript:parent.botFrame"&gt; &lt;/frameset&gt; &lt;/html&gt; </code></pre> <p>This code when loaded using Safari or firefox shows blank. Can you guess why?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload