Widget:CJP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
$('#executeGo').click(function() { | $('#executeGo').click(function() { | ||
$('#textHere').append('<p>{|class="wikitable sortable" cellpadding="5"</p><p>!Drug Name !! Pill Imprint !! Dosage !! Ingredients !! Pill Color !! Pill Shape !! Pill Size (mm) !! Score !! NDC !! Pill Image</p><p>|-</p><p>{{#ask:</p>'); | $('#textHere').append('<p>{|class="wikitable sortable" cellpadding="5"</p><p>!Drug Name !! Pill Imprint !! Dosage !! Ingredients !! Pill Color !! Pill Shape !! Pill Size (mm) !! Score !! NDC !! Pill Image</p><p>|-</p><p>{{#ask:</p>'); | ||
$('#textHere').append('<string>[[Pill Shape:: | $('#textHere').append('<string>[[Pill Shape::</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><p>|}</p>'); | $('#textHere').append($('#selectPillShape option:selected').val()); | ||
$('#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><p>|}</p>'); | |||
}); | }); | ||