Widget:CJP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<script type = "text/javascript"> | <script type = "text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('#executeGo').click(function() { | |||
$('#textHere').append('<string>{|class="wikitable sortable" cellpadding="5" !Drug Name !! Pill Imprint !! Dosage !! Ingredients !! Pill Color !! Pill Shape !! Pill Size (mm) !! Score !! NDC !! Pill Image|-{{#ask:</string>'); | |||
$('#textHere').append('<string>[[Pill Shape::Round]]</string>'); | |||
$('#textHere').append('<string>|?Pill Imprint|?Pill Dosage|?Pill Ingred|?Pill Color|?Pill Shape|?Pill Size (mm)|?Pill Scoring |?NDC|?Pill Name|format=template|template=PillID}} |}</string>'); | |||
}); | |||
}); | }); | ||
</script> | </script> | ||
< | <div id="textHere"></div> | ||
< | <input type="button" id="executeGo" value="Go" /> | ||
<input type=" | |||
</includeonly> | </includeonly> |