Syntax: vreturnValue = WINDOW.SHOWMODALDIALOG (SURL [, Varguments] [, SFEATURES])
1. Suppose SURL is Jump.aspx, and you can return the value to the current window in the HTML code of the pop-ups Jump.aspx.
2.Varguments is the variable passing to the pop-up window. If you want to pass the value in a TextBox in the current window to the pop-up window Jump.aspx, you can do this:
var strSendValue = objForm.sendValue.value; window.showModalDialog (jump.aspx, strSendValue, "dialogHeight: 300px; dialogLeft: 200px;"); script>