locked
.net 3.5 aspx vb -need help on simple shopping cart - accept user input then supply MD5 hash then send to webpage "post" RRS feed

  • Question

  • User557132469 posted

    I have .net 3.5, and would like to use vb language in aspx, and I'm trying to accept user input (probably in an html <form>) then supply the MD5 hash code and other variables, based on user input, then send to web page using method="post". I can supply the MD5 hash code, just wonder how to assign it, based on user input, then post to the web page. 

    I found this, just wonder if there is anything similar in vb.net.

    <html>
    <head>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
    <script type="text/javascript">
    function submitMyForm(){
    $('#username').val($('#email').val());
    $('#myform').submit();
    }
    </script>
    <title>Test</title>
    </head>
    <body>
    <form id="myform" action="http://www.example.com" method="post">
    <input type="hidden" id="username" name="username" value="" />
    <input type="text" id="email" name="email" value="some.email@typed.here.on.webpage.com" />
    </form>
    <button class="submit" onclick="submitMyForm()">Submit</button>
    </body>
    </html>


    Thursday, September 13, 2012 6:24 PM

Answers