Widget:CJP: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
function microChapterData() { | function microChapterData() { | ||
if ($('option:selected', 'select').val() === "Black Box Warning") { | if ($('option:selected', 'select').val() === "Black Box Warning") { | ||
$("#prepend").val(" | $("#prepend").val("{{TopOfDrugPaeg}} /n /n {{BlackBoxTemplate|blackBoxWarningTitle="); | ||
$("#append").val(" | ${"pend").val("|blackBoxWarningBody="); | ||
$("#append").val("}}"); | |||
$("#instructions").html("These are some instructions"); | $("#instructions").html("These are some instructions"); | ||
} else if ($('option:selected', 'select').val() === "Chapter 2") { | } else if ($('option:selected', 'select').val() === "Chapter 2") { |