<script type="text/javascript">
function openSmallWindow() {
..
// Specify URL, window size and attributes
window.open('http://isivmwebtest.isolutionsinc.com/ComparativePricing/Content/PriceLookup.aspx','windowNew','width=300, height=300');
return true;
}
</script>
<div class="form-outer">
<div class="resource-form">
<h3>National Price-Look Up Tool - Get Prices Here!</h3>
<h4>Powered by ComparativeHospitalData.com</h4>
<form action="http://isivmwebtest.isolutionsinc.com/ComparativePricing/Gateway.aspx" method="post" onsubmit="return openSmallWindow()">
<input type="hidden" name="RemoteAction" value="PriceLookup" />
<strong>Enter HCPCS Code(s)</strong><br />
<input onfocus="this.value=''" type="text" name="codes" value="XXXXX or XXXXX,XXXXX or XXXXX-XXXXX" /><br /><br />
<strong>Enter HCPCS Description</strong><br />
<input onfocus="this.value=''" type="text" name="desc" value="partial name okay" /><br /><br />
<input type="submit" value="Search" />
</form>
<span style="font-size:0.8em;font-style:italic;padding-top:10px;">*Performing a search will redirect you to another page.</span>
</div>
</div>
I've been struggling to make this form show results in a small popup window. I've experimented with various methods but nothing seems to work. Currently, I'm using JavaScript to try and achieve this, but it's not functioning as expected. Can someone provide assistance?