Widget:DrugPriceCompar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div id="goodrx_compare-price_widget"> </div> | <div id="goodrx_compare-price_widget"> </div> | ||
<script> | <script> | ||
function seeDrugPrice() { | |||
$("#executeGo").click( function(){ | |||
var _grxdn = $("#drugName").val(); | |||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; | |||
g.src="//s3.amazonaws.com/assets.goodrx.com/static/widgets/compare.min.js"; | |||
s.parentNode.insertBefore(g,s)}(document,"script")); | |||
}); | |||
} | } | ||
</script> | |||
Select Drug to Compare: <select id="drugName"> | Select Drug to Compare: <select id="drugName"> | ||
<option><!--{$drugName1}--></option> | <option><!--{$drugName1}--></option> |