<body>
<div id="mkwsSwitch"></div>
<div id="mkwsSearch"></div>
- <div id="recordview">
+ <div id="mkwsRecords">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="250" valign="top">
</tr>
</table>
</div>
- <div id="targetview" style="display: none">
+ <div id="mkwsTargets" style="display: none">
<div id="bytarget">
No information available yet.
</div>
function switchView(view) {
- var targets = document.getElementById('targetview');
- var records = document.getElementById('recordview');
+ var targets = document.getElementById('mkwsTargets');
+ var records = document.getElementById('mkwsRecords');
switch(view) {
- case 'targetview':
+ case 'targets':
targets.style.display = "block";
records.style.display = "none";
break;
- case 'recordview':
+ case 'records':
targets.style.display = "none";
records.style.display = "block";
break;
$(document).ready(function() {
$("#mkwsSwitch").html($("<a/>", { href: '#',
- onclick: "switchView(\'recordview\')",
+ onclick: "switchView(\'records\')",
text: "Record Browser",
}));
$("#mkwsSwitch").append($("<span/>", { text: " | " }));
$("#mkwsSwitch").append($("<a/>", { href: '#',
- onclick: "switchView(\'targetview\')",
+ onclick: "switchView(\'targets\')",
text: "Target Info",
}));
<input id="button" type="submit" value="Search" />\
</form>');
+/*
+ $("#mkwsSearch").html('\
+ <form id="searchForm" name="search">\
+ <input id="query" type="text" size="50" />\
+ <input id="button" type="submit" value="Search" />\
+ </form>');
+*/
+
domReady();
var jqxhr = jQuery.get("/service-proxy-auth")