//asp.net javascript
//[*/***]index.aspxfunction SearchSupply (supplyName) {var ret = window.showModalDialog ( 'showsupply.aspx pSupplyName =?' supplyName, window, 'scroll: no; status: no; Center: Yes; Dialogheight: 280px; DialogWidth: 480px; '); if (ret! = null) {var newret = ret.split (",") Document.all.txtSupplyName.Value = newret [1];}}
Function onhelpkeyDown () {if (event.keycode == 118) {var vsupplyname = document.all.txtsupplyName.Value; event.srcelement.value = "Inquiry, please wait ..."; if (Event .srcelement.id == "txtsupplyname") {searchsupply (vsupplyname);}}}
Manufacturer name
//[**/**]Index.aspx.csprivate void page_load (Object sender, system.eventargs e) {txtsupplyname.attributes ["onkeydown"] = "onhelpkeydown ();";
//[***/*]showsupply.aspx (WINDOW.RETURNVALUE = Document.all.ListBox1.Value; window.ListBox1.Value; window.opener = null; window.opener = null; window .close ();} script> head>