<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuizMe 2.0 Released.</title>
	<atom:link href="http://bateru.com/news/2009/07/jquizme-2-0-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://bateru.com/news/2009/07/jquizme-2-0-released/</link>
	<description>Writing software and articles to help improve understanding. - Larry Battle</description>
	<lastBuildDate>Mon, 30 Aug 2010 17:21:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nathan B</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-476</link>
		<dc:creator>Nathan B</dc:creator>
		<pubDate>Mon, 30 Aug 2010 17:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-476</guid>
		<description>Wonderful; I&#039;ll try that. Thanks!!!</description>
		<content:encoded><![CDATA[<p>Wonderful; I&#8217;ll try that. Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-475</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Sun, 29 Aug 2010 15:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-475</guid>
		<description>In jQuizMe, the ansInfo property is only shown when the user answer is incorrect. So I will have to change that feature to allow you to show the ansInfo property every time.


options.statusUpdate will help for triggering quiz events.
You can find that in &quot;release jQuizMe 2.1/demo/simple guide/&quot; or at the link below.
http://www.bateru.com/jquery/jquizme2.1/demo/Simple_guide/jquizme-settings-updated.html
Something like the following might help you get started.

... // declare quiz and options
options.statusUpdate = function( quizInfo, $currQuiz ){
        if( quizInfo.hasQuit ){
            alert( &quot;Thank you for using jQuizMe. \n For More information google &#039;jQuizMe&#039;.&quot; );
        }
 };
jQuizMe( quiz, options );</description>
		<content:encoded><![CDATA[<p>In jQuizMe, the ansInfo property is only shown when the user answer is incorrect. So I will have to change that feature to allow you to show the ansInfo property every time.</p>
<p>options.statusUpdate will help for triggering quiz events.<br />
You can find that in &#8220;release jQuizMe 2.1/demo/simple guide/&#8221; or at the link below.<br />
<a href="http://www.bateru.com/jquery/jquizme2.1/demo/Simple_guide/jquizme-settings-updated.html" rel="nofollow">http://www.bateru.com/jquery/jquizme2.1/demo/Simple_guide/jquizme-settings-updated.html</a><br />
Something like the following might help you get started.</p>
<p>&#8230; // declare quiz and options<br />
options.statusUpdate = function( quizInfo, $currQuiz ){<br />
        if( quizInfo.hasQuit ){<br />
            alert( &#8220;Thank you for using jQuizMe. \n For More information google &#8216;jQuizMe&#8217;.&#8221; );<br />
        }<br />
 };<br />
jQuizMe( quiz, options );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-474</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Sun, 29 Aug 2010 15:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-474</guid>
		<description>I spent some time reviewing the code and discovered that the plugin ezMark is geared more towards inputs in forms.
Since jQuizMe doesn&#039;t use the form tag and assign radio inputs with names, then ezMark will fail.
Therefore, unless ezMark is modified, it *should* not work properly with jQuizMe.</description>
		<content:encoded><![CDATA[<p>I spent some time reviewing the code and discovered that the plugin ezMark is geared more towards inputs in forms.<br />
Since jQuizMe doesn&#8217;t use the form tag and assign radio inputs with names, then ezMark will fail.<br />
Therefore, unless ezMark is modified, it *should* not work properly with jQuizMe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Battle</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-473</link>
		<dc:creator>Larry Battle</dc:creator>
		<pubDate>Sun, 29 Aug 2010 15:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-473</guid>
		<description>No, not all quizzes have to be saved in JavaScript Files. You can create a quiz by retrieving the information from a MySQL database. Here&#039;s how.
Basically to create the quiz, you send out an ajax command to a PHP page that &lt;a href=&quot;http://www.w3schools.com/PHP/php_ajax_database.asp&quot; rel=&quot;nofollow&quot;&gt;echos back an JSON file with your questions&lt;/a&gt;.
To echo back JSON using PHP, connect to and &lt;a href=&quot;http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/retrieve-data-from-a-mysql-database.aspx&quot; rel=&quot;nofollow&quot;&gt;query your database&lt;/a&gt; whiling storing the results in an associated array. 
Next, convert the stored array into JSON by using the &lt;a href=&quot;http://php.net/manual/en/function.json-encode.php&quot; rel=&quot;nofollow&quot;&gt;JSON_encode&lt;/a&gt; function.
&lt;a href=&quot;http://api.jquery.com/jQuery.ajax/&quot; rel=&quot;nofollow&quot;&gt;jQuery Ajax&lt;/a&gt;
&lt;code&gt;&lt;pre&gt;
var quiz = $.ajax({
      url: &quot;script.php&quot;,
      global: false,
      type: &quot;POST&quot;,
      data: &quot;topic=chemistry&quot;,
      async:false
   }
).responseText;
//Note: quiz can be in the format [ { ques: &quot;&quot;, ans:&quot;&quot; }, ... ];
&lt;/pre&gt;&lt;/code&gt;

Hope that&#039;s helps.</description>
		<content:encoded><![CDATA[<p>No, not all quizzes have to be saved in JavaScript Files. You can create a quiz by retrieving the information from a MySQL database. Here&#8217;s how.<br />
Basically to create the quiz, you send out an ajax command to a PHP page that <a href="http://www.w3schools.com/PHP/php_ajax_database.asp" rel="nofollow">echos back an JSON file with your questions</a>.<br />
To echo back JSON using PHP, connect to and <a href="http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/retrieve-data-from-a-mysql-database.aspx" rel="nofollow">query your database</a> whiling storing the results in an associated array.<br />
Next, convert the stored array into JSON by using the <a href="http://php.net/manual/en/function.json-encode.php" rel="nofollow">JSON_encode</a> function.<br />
<a href="http://api.jquery.com/jQuery.ajax/" rel="nofollow">jQuery Ajax</a><br />
<code>
<pre>
var quiz = $.ajax({
      url: "script.php",
      global: false,
      type: "POST",
      data: "topic=chemistry",
      async:false
   }
).responseText;
//Note: quiz can be in the format [ { ques: "", ans:"" }, ... ];
</pre>
<p></code></p>
<p>Hope that&#8217;s helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan B</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-470</link>
		<dc:creator>Nathan B</dc:creator>
		<pubDate>Fri, 27 Aug 2010 18:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-470</guid>
		<description>I&#039;m hoping to use this for my online courses. I&#039;m wondering if there&#039;s a way to get the plugin to pull questions from a MySQL database. Would that require JSON? Is there a pure PHP solution? Otherwise all questions have to be hardcoded in the JS, right?</description>
		<content:encoded><![CDATA[<p>I&#8217;m hoping to use this for my online courses. I&#8217;m wondering if there&#8217;s a way to get the plugin to pull questions from a MySQL database. Would that require JSON? Is there a pure PHP solution? Otherwise all questions have to be hardcoded in the JS, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronnie</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-434</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Fri, 20 Aug 2010 22:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-434</guid>
		<description>Hey Larry,

Great work on the plugin!

Is there a way to add a custom text summary to the end of the quiz? Something like 

&quot;Thank you for taking our quiz! If you would like more information, click here&quot; Etc Etc

Also, is there a way to always show ansInfo regardless if the question was correct or incorrect? Currently it only shows if the question was incorrect.

Thanks for everything!
-Ronnie</description>
		<content:encoded><![CDATA[<p>Hey Larry,</p>
<p>Great work on the plugin!</p>
<p>Is there a way to add a custom text summary to the end of the quiz? Something like </p>
<p>&#8220;Thank you for taking our quiz! If you would like more information, click here&#8221; Etc Etc</p>
<p>Also, is there a way to always show ansInfo regardless if the question was correct or incorrect? Currently it only shows if the question was incorrect.</p>
<p>Thanks for everything!<br />
-Ronnie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doruk</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-373</link>
		<dc:creator>doruk</dc:creator>
		<pubDate>Sun, 08 Aug 2010 21:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-373</guid>
		<description>Hi. Thanks for this nice plugin. I try to use your plugin with Ezmark Checkbox and Radio button plugin. But because my javascripting is not good, i could figure out to make them work. Actually i can make Ezmark work in first stage as changing button, but when user click, the button does not change at all but your script got the answer and work. I think this is because both relay on :checked attribute. Can you offer me a way to solve this problem?</description>
		<content:encoded><![CDATA[<p>Hi. Thanks for this nice plugin. I try to use your plugin with Ezmark Checkbox and Radio button plugin. But because my javascripting is not good, i could figure out to make them work. Actually i can make Ezmark work in first stage as changing button, but when user click, the button does not change at all but your script got the answer and work. I think this is because both relay on :checked attribute. Can you offer me a way to solve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicky</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-256</link>
		<dc:creator>nicky</dc:creator>
		<pubDate>Mon, 05 Jul 2010 18:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-256</guid>
		<description>hey m having trouble saving the result to database can anyone out there dictate me how to retrieve the final answer and store it to the database. i need help pls!</description>
		<content:encoded><![CDATA[<p>hey m having trouble saving the result to database can anyone out there dictate me how to retrieve the final answer and store it to the database. i need help pls!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Battle</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-187</link>
		<dc:creator>Larry Battle</dc:creator>
		<pubDate>Sat, 05 Jun 2010 04:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-187</guid>
		<description>Hey Bruno,
Here are two hacks for jQuizMe. You need to use jQuery 1.4.2 for these to work.
These simple hacks are taking advantage of jQuery&#039;s delegate function.
jQuery Delegate: http://api.jquery.com/delegate/

1) When using the &quot;multiList&quot; quiz type, auto-click the check button when an answer is selected.
Solution:
### Code ###
$( &quot;#quizArea&quot; ).delegate( &quot;.q-ol-li&quot;, &quot;click&quot;, function(e){
            var $checkBtn = $(e.target).parent().parent().parent().parent().find( &quot;.q-check-btn&quot; );
        $checkBtn.click();
    });
### End of Code ###

2) When using the &quot;multiList&quot; quiz type, hide the question and answer when showing the result of the answer selection.
Solution:
### Code ###
$(&quot;.q-check-btn&quot;).click( function(){
    	$( e.target ).parent().parent().find( &quot;.q-ansSel, .q-ques&quot; ).slideToggle();
});
### End of Code ###

Note: Change &quot;#quizArea&quot; to the appropriate selector that contains the jQuizMe element.</description>
		<content:encoded><![CDATA[<p>Hey Bruno,<br />
Here are two hacks for jQuizMe. You need to use jQuery 1.4.2 for these to work.<br />
These simple hacks are taking advantage of jQuery&#8217;s delegate function.<br />
jQuery Delegate: <a href="http://api.jquery.com/delegate/" rel="nofollow">http://api.jquery.com/delegate/</a></p>
<p>1) When using the &#8220;multiList&#8221; quiz type, auto-click the check button when an answer is selected.<br />
Solution:<br />
### Code ###<br />
$( &#8220;#quizArea&#8221; ).delegate( &#8220;.q-ol-li&#8221;, &#8220;click&#8221;, function(e){<br />
            var $checkBtn = $(e.target).parent().parent().parent().parent().find( &#8220;.q-check-btn&#8221; );<br />
        $checkBtn.click();<br />
    });<br />
### End of Code ###</p>
<p>2) When using the &#8220;multiList&#8221; quiz type, hide the question and answer when showing the result of the answer selection.<br />
Solution:<br />
### Code ###<br />
$(&#8220;.q-check-btn&#8221;).click( function(){<br />
    	$( e.target ).parent().parent().find( &#8220;.q-ansSel, .q-ques&#8221; ).slideToggle();<br />
});<br />
### End of Code ###</p>
<p>Note: Change &#8220;#quizArea&#8221; to the appropriate selector that contains the jQuizMe element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://bateru.com/news/2009/07/jquizme-2-0-released/comment-page-1/#comment-182</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Thu, 03 Jun 2010 11:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://bateru.com/news/?p=34#comment-182</guid>
		<description>I&#039;ve sent you again. Please confirm reception. Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve sent you again. Please confirm reception. Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
