VBScript to JScript Code

Results 1 to 3 of 3

Thread: VBScript to JScript Code

  1. #1
    T M Guest

    Default VBScript to JScript Code

    I&#039m having a some problems converting this vbscript code to jscript.<BR><BR>&#060;% For Each x In Request.Form &#037;&#062;<BR>Request.Form( &#060;%= x &#037;&#062; ) = &#060;%= Request.Form(x) &#037;&#062; <BR><BR>&#060;% Next &#037;&#062;<BR><BR>Any ideas?

  2. #2
    Join Date
    Dec 1969
    Posts
    35

    Default RE: VBScript to JScript Code

    Read my article posted here at 4guys.<BR>http://www.4guysfromrolla.com/webtech/051999-3.shtml<BR>Down at the bottom of the article is a script to do exactly what you&#039re asking.<BR>If you really want to write out each entry to the web page all you have to do is include this statement at the bottom of the while loop, before the keyNum++; statement:<BR>Response.Write("Request.Form(" + keyNum + ") = " + Request.Form(KeyNum));

  3. #3
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: VBScript to JScript Code

    And on a somewhat related note, you may want to check out http://4GuysFromRolla.com/webtech/vb2java.shtml, it has VBScript functions coded in JavaScript (client-sdie). Just an aside, realize it&#039s not what you&#039re after, but it may help somewhat? :)<BR><BR>Happy Programming!

Posting Permissions

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