Widget:WJG Random Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 457: | Line 457: | ||
console.log(value) | console.log(value) | ||
window.exam.searchMethod = value | window.exam.searchMethod = value | ||
if (value=='Keyword'){ | |||
Keywords(window.exam) | |||
} | |||
}); | }); | ||
Line 505: | Line 508: | ||
} | } | ||
function Keywords(event) { | function Keywords(event) { | ||
$('CategorySelectorDiv').hide() | |||
var stuffs = "<div id='formSpace'></div><div class='WBRButton' id='orOp'><br />OR</div><div class='WBRButton' id='andOp'><br />AND</div><div class='WBRButton' id='showQueries'><br />SHOW</div><br /><br /><br />"; | var stuffs = "<div id='formSpace'></div><div class='WBRButton' id='orOp'><br />OR</div><div class='WBRButton' id='andOp'><br />AND</div><div class='WBRButton' id='showQueries'><br />SHOW</div><br /><br /><br />"; | ||
$("#examOptions").append(stuffs); | $("#examOptions").append(stuffs); |