Created
September 18, 2009 19:28
-
-
Save mrichman/189238 to your computer and use it in GitHub Desktop.
This pops up a window, allows the user to select an item, returns that item's id to the parent window, and submits the form on the parent window. Only works in IE & FF, not Safari 4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="ctl00_c1_vw_Module_Correlations_ep1_pnl1" style="width:60px;text-align:right;display:inline"> | |
<input type="submit" | |
name="ctl00$c1$vw_Module_Correlations$ep1$b" | |
value="Add..." | |
onclick="document.getElementById('ctl00_c1_vw_Module_Correlations_ep1_g_btnDefaultButton').click();return(false);WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$c1$vw_Module_Correlations$ep1$b", "", true, "", "", false, false))" | |
id="ctl00_c1_vw_Module_Correlations_ep1_b" | |
class="i-btn" | |
style="width:60px;" /> | |
<!-- GetterRobbottoMaster - BEGIN --> | |
<input name="ctl00$c1$vw_Module_Correlations$ep1$g$txtValue" | |
type="text" | |
id="ctl00_c1_vw_Module_Correlations_ep1_g_txtValue" | |
style="display:none;" /> | |
<input type="image" | |
name="ctl00$c1$vw_Module_Correlations$ep1$g$btnDefaultButton" | |
id="ctl00_c1_vw_Module_Correlations_ep1_g_btnDefaultButton" | |
src="../Controls/---.---" | |
onclick="document.getElementById('ctl00_c1_vw_Module_Correlations_ep1_g_btnDefaultButtonTextual').click();return false;" | |
style="height:16px;width:16px;border-width:0px;display:none;" /> | |
<input type="submit" | |
name="ctl00$c1$vw_Module_Correlations$ep1$g$btnDefaultButtonTextual" | |
value="send" | |
onclick="DoPopup(document.getElementById('ctl00_c1_vw_Module_Correlations_ep1_g_btnDefaultButton'),'/english/pick/?_validTypes=*',10,10,960,700,'ctl00_c1_vw_Module_Correlations_ep1_g_',0,0,0,0,1,1,1,'ctl00_c1_vw_Module_Correlations_ep1_g_');return(false);" | |
id="ctl00_c1_vw_Module_Correlations_ep1_g_btnDefaultButtonTextual" | |
style="display:none;" /> | |
<input type="submit" | |
name="ctl00$c1$vw_Module_Correlations$ep1$g$btnTargetButton" | |
value="" | |
onclick="if (document.getElementById('ctl00_c1_vw_Module_Correlations_ep1_g_txtState').value=='') {return(false);};" | |
id="ctl00_c1_vw_Module_Correlations_ep1_g_btnTargetButton" | |
style="display:none;" /> | |
<input name="ctl00$c1$vw_Module_Correlations$ep1$g$txtState" | |
type="text" | |
id="ctl00_c1_vw_Module_Correlations_ep1_g_txtState" | |
style="display:none;" /> | |
<!-- GetterRobbottoMaster - END --> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment