Personal tools
Navigation
 

oscarOpenPublicEDoc HTML

HTML icon Test_oscarOpenPublicEDoc.html — HTML, 1 kB (1866 bytes)

File contents

<html>
<head>
  <title>Test_oscarOpenPublicEDoc</title>
  <script type="text/javascript" src="${oscar_image_path}/oscarOpenEDoc.js"/></script>
</head>
<body>
<b>Sample eForm demonstrating oscarOpenPublicEDoc</b></br>
<textarea id="SampleCode" cols="80" rows="8">
&lt;html>
&lt;head>
  &lt;title>oscarOpenPublicEDoc Sample&lt;/title>
  &lt;script type="text/javascript" src="$&#123;oscar_image_path&#125;/oscarOpenEDoc.js"/>&lt;/script>
&lt;/head>
&lt;body>
&lt;a href="javascript:oscarOpenPublicEDoc('Placeholder');">Placeholder&lt;/a>
&lt;/body>
&lt;/html>
</textarea>
<table id="DocumentList">
<tr><th>Document Name</th><th>HTML/Javascript code for use in an eForm<th></th></tr>
</table>
<script>
var theSampleCode=document.getElementById('SampleCode');
theSampleCode.innerHTML=theSampleCode.innerHTML.replace('Placeholder',theDocuments[0][0]).replace('Placeholder',theDocuments[0][0]);
var theDocumentList=document.getElementById('DocumentList');
for(var theIndex=0;theIndex<theDocuments.length;theIndex++){
	var theDocument=document.createElement('tr');
	var theDocumentName=document.createElement('td');
	var theDocumentLink=document.createElement('a');
	theDocumentLink.setAttribute('href','javascript:oscarOpenPublicEDoc("'+theDocuments[theIndex][0]+'")');
	theDocumentLink.innerHTML=theDocuments[theIndex][0];
	var theDocumentCode=document.createElement('td');
	var theDocumentLinkCode=document.createElement('input');
	theDocumentLinkCode.setAttribute('size','80');
	theDocumentLinkCode.value='javascript:oscarOpenPublicEDoc("'+theDocuments[theIndex][0]+'")';
	theDocumentName.appendChild(theDocumentLink);
	theDocumentCode.appendChild(theDocumentLinkCode);
	theDocument.appendChild(theDocumentName);
	theDocument.appendChild(theDocumentCode);
	theDocumentList.appendChild(theDocument);
}
</script>
</body>
</html>

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)