function BtnSelect_Click_Complete(values) { var ofiledname; //alert('aaa'); ofieldname = gup('fieldname'); if (ofieldname != null) { //alert(ofieldname + " : " + values[0] + " : " + values[1]); window.opener.SetLookup(opener.document, ofieldname, values[0], values[1]); window.opener.PopulateParticipant(values[0], ofieldname); } self.close(); }
function gup( name ) { var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var tmpURL = window.location.href; var results = regex.exec( tmpURL ); if( results == null ) return ""; else return results[1]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)