Skip to content

Instantly share code, notes, and snippets.

View johnbreau's full-sized avatar

John Breau johnbreau

View GitHub Profile
<div class="question">
<h3><b>a)</b> partQuestion
<ol type="A" class="quizzy">
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(5)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(2)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(4)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(4)"><span>Lorem</span></label></li>
</ol>
</h3>
var censoredWords = ['sad', 'bad', 'mad'];
var customCensoredWords = [];
function censor(inStr) {
for (idx in censoredWords) {
inStr = inStr.replace(censoredWords[idx], "******");
}
for (idx in customCensoredWords) {
inStr = inStr.replace(customCensoredWords[idx], "******");
}
<div class="question">
<h3><b>a)</b> partQuestion
<ol type="A" class="quizzy">
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(5)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(2)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(4)"><span>Lorem</span></label></li>
<li><label><input type="radio" name="set1" class="mcObj" onclick="return correctIt(4)"><span>Lorem</span></label></li>
</ol>
</h3>
Hi
I hope this helps you all get started with phonegap and sqlite in your
application
Dean-O
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>