javscript assignment to vbs

Results 1 to 2 of 2

Thread: javscript assignment to vbs

  1. #1
    Weaver Guest

    Default javscript assignment to vbs

    I am sending form data onClick from a form. (onClick="passData(this.form.sAuth.value)")<BR><BR >I want to pick it up on the recieving (popup) page. I can grab it via javascript like so (var myAuth = opener.document.myform.sAuth.value;)<BR><BR>How do either assign var myAuth to a VBS variable.. or how can I simply do something like<BR><BR>&#060;% dim myNewVar<BR> myNewVar=&#060;script language=Javascript&#062; opener.document.myform.sAuth.value; &#060;/script&#062;<BR><BR> Response.Write myNewVar<BR>%&#062;<BR><BR>Obviously above statement wont work, but conceptually I hope you understand what I desire (assignment from value of form field without sending a post/get submit from the previous parent window)

  2. #2
    Join Date
    Dec 1969

    Default RE: javscript assignment to vbs

    Document.textareaname.value = window.opener.document.fieldname.value <BR><BR>onclick event for save button: <BR>Window.opener.document.fieldname.value = &#039;&#039;; Window.close(); <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts