<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>p2p.wrox.com Forums - Javascript How-To</title>
		<link>http://p2p.wrox.com</link>
		<description><![CDATA[Ask your "How do I do this with Javascript?" questions here.]]></description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 12:17:14 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - Javascript How-To</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title>problem calling between frames</title>
			<link>http://p2p.wrox.com/javascript-how/76998-problem-calling-between-frames.html</link>
			<pubDate>Thu, 12 Nov 2009 05:32:29 GMT</pubDate>
			<description>Hi, 

i have one page which has two frames. my page structure is : 

test.asp is main file which has two frameset:
a. top frame
b. main frame....</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
i have one page which has two frames. my page structure is : <br />
<br />
test.asp is main file which has two frameset:<br />
a. top frame<br />
b. main frame. <br />
<br />
topframe shows one header file where clock is ticking<br />
mainframe shows questions. <br />
<br />
header.asp includes a script file names script.<acronym title="JavaScript">js</acronym><br />
my last page which shows is review.asp<br />
<br />
problem : i have written this code for autoclose of test, here x is time value<br />
{<br />
...<br />
    if(x == 0)<br />
    {<br />
        self.close();<br />
        window.parent.mainFrame.location.href = &quot;review.asp&quot;;<br />
        endTest();<br />
    }<br />
}<br />
<br />
function endTest()<br />
{<br />
  window.top.mainFrame.document.finalSubmit.hiddenAn  swers.value = window.top.getConclude();<br />
  window.top.mainFrame.document.finalSubmit.hiddenMa  rksheet.value = window.top.prepareMarkSheet();<br />
  window.top.mainFrame.document.finalSubmit.submit()  ; <br />
}<br />
<br />
my review.asp page contains: form named : finalSubmit, here is the code<br />
<br />
&lt;form action=&quot;Conclude.asp&quot; method=&quot;post&quot; name=&quot;finalSubmit&quot;&gt;<br />
        &lt;input name=&quot;hiddenAnswers&quot; type=&quot;hidden&quot; value=&quot;&quot; /&gt;<br />
        &lt;input name=&quot;hiddenMarksheet&quot; type=&quot;hidden&quot; value=&quot;&quot; /&gt;<br />
        &lt;input name=&quot;btnSubmit&quot; type=&quot;submit&quot; value=&quot;submit form&quot; style=&quot;visibility:hidden&quot; /&gt;<br />
&lt;/form&gt;<br />
<br />
but when i see error in ErrorConsole in Mozilla firefox. it says..<br />
<br />
window.top.mainFrame.document.finalSubmit is undefined<br />
<br />
i am new to javascript, please help me out..<br />
<br />
thanks for your consideration . <br />
<br />
<br />
best regards</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/javascript-how-87/">Javascript How-To</category>
			<dc:creator>beetle_jaipur</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/javascript-how/76998-problem-calling-between-frames.html</guid>
		</item>
		<item>
			<title>validate multiple sets of data on a form</title>
			<link>http://p2p.wrox.com/javascript-how/76811-validate-multiple-sets-data-form.html</link>
			<pubDate>Thu, 29 Oct 2009 15:20:17 GMT</pubDate>
			<description>I have a form.  On this form are survey questions...for this example we will say there are 4 questions.

So I have 4 sets of radio buttons
named:...</description>
			<content:encoded><![CDATA[<div>I have a form.  On this form are survey questions...for this example we will say there are 4 questions.<br />
<br />
So I have 4 sets of radio buttons<br />
named: response1, response2, response3, response4<br />
<br />
<br />
I dont care which answer they choose, I just want to make sure they choose an answer for each set of radio buttons.<br />
<br />
I can validate them one set at a time, but that is tedious....can anyone help me out how i can check to see if each set has a button selected/checked?<br />
<br />
form example:<br />
&lt;form name=&quot;editForm&quot;&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response1&quot; value=&quot;1&quot; /&gt;1&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response1&quot; value=&quot;2&quot; /&gt;2&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response1&quot; value=&quot;3&quot; /&gt;3&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response1&quot; value=&quot;4&quot; /&gt;4&lt;br /&gt;&lt;br /&gt;<br />
<br />
&lt;input type=&quot;radio&quot; name=&quot;response2&quot; value=&quot;1&quot; /&gt;1&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response2&quot; value=&quot;2&quot; /&gt;2&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response2&quot; value=&quot;3&quot; /&gt;3&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response2&quot; value=&quot;4&quot; /&gt;4&lt;br /&gt;&lt;br /&gt;<br />
<br />
&lt;input type=&quot;radio&quot; name=&quot;response3&quot; value=&quot;1&quot; /&gt;1&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response3&quot; value=&quot;2&quot; /&gt;2&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response3&quot; value=&quot;3&quot; /&gt;3&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response3&quot; value=&quot;4&quot; /&gt;4&lt;br /&gt;&lt;br /&gt;<br />
<br />
&lt;input type=&quot;radio&quot; name=&quot;response4&quot; value=&quot;1&quot; /&gt;1&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response4&quot; value=&quot;2&quot; /&gt;2&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response4&quot; value=&quot;3&quot; /&gt;3&lt;br /&gt;<br />
&lt;input type=&quot;radio&quot; name=&quot;response4&quot; value=&quot;4&quot; /&gt;4&lt;br /&gt;&lt;br /&gt;<br />
<br />
&lt;input type=&quot;button&quot; name=&quot;Submit&quot; value=&quot;Submit&quot; onclick=&quot;test()&quot; /&gt;</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/javascript-how-87/">Javascript How-To</category>
			<dc:creator>smys123</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/javascript-how/76811-validate-multiple-sets-data-form.html</guid>
		</item>
		<item>
			<title>How can I convert an excel formula to javascript</title>
			<link>http://p2p.wrox.com/javascript-how/76737-how-can-i-convert-excel-formula-javascript.html</link>
			<pubDate>Fri, 23 Oct 2009 20:51:21 GMT</pubDate>
			<description><![CDATA[How can I convert the following excel formula to javascript I can use in a PDF calculation?

If (B4 > B3, B3-B4,"")

Any help would be appreciated.]]></description>
			<content:encoded><![CDATA[<div>How can I convert the following excel formula to javascript I can use in a PDF calculation?<br />
<br />
If (B4 &gt; B3, B3-B4,&quot;&quot;)<br />
<br />
Any help would be appreciated.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/javascript-how-87/">Javascript How-To</category>
			<dc:creator>wwilson80</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/javascript-how/76737-how-can-i-convert-excel-formula-javascript.html</guid>
		</item>
	</channel>
</rss>
