This information was collected before and I hope it will help you.
1, page1.htm
<body>
<form id=scr_data>
Name: <input type=text id=s_fname value= "None" >
<br>
Last Name: <input type=text id=s_lname value= "None" >
<br><br>
<input type=hidden id=s_hidden value= "No value assigned yet!" >
1. <input Type=button id=btn_callremotescripting0 onclick= "alert (' before Remote scripting: ' + scr_data.s_ Hidden.value) "value=" Display Hidden TEXT Box value ><br>
2. <input Type=button id=btn_callremotescripting1 onclick= "callRemoteScript1 ()" value= "Change name Amp Hidden Textbox values (calls an ASP page) "><br>
3. <input Type=button id=btn_callremotescripting2 onclick= "alert (' after Remote scripting: ' + scr_data.s_ Hidden.value) "value=" Display Hidden TEXT Box value (after Remote scripting) "><br>
4. <input Type=button id=btn_callremotescripting3 onclick= "CallRemoteScript2 ()" value= "Clear" I & Last Name Values but Keep Hidden Text value (calls a HTML page) "><br>
</form>
</body>
<script language=javascript>
CAN either use JAVASCRIPT OR VBSCRIPT ...
CAN ALSO Call an ASP OR HTML PAGE ...
var t = ' dialogleft:1024;dialogtop:768;dialogheight:0;dialogwidth:0;center:no;edge:raised; ' +
' Help:no;show=no;resizable:no;status:no;scroll:no;unadorned:yes '
function CallRemoteScript1 ()
{
var s = "remotescript1.asp"
/*
t = Window Properties
s = Page to call (ASP or HTML)
Scr_data = Your FORM id/name (*be sure to pass this parameter*)
*/
Self.showmodaldialog (S, Scr_data, T);
}
function CallRemoteScript2 ()
{
var s = "Remotescript2.htm"
/*
t = Window Properties
s = Page to call (ASP or HTML)
Scr_data = Your FORM id/name (*be sure to pass this parameter*)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.