js form表单发送数据两种方式(post get)区别


<html>
    <head>
        <title>please enter your titletitle>
        <meta charset="utf-8">
        <meta name="Author" content="年轻人">
        <style type='text/css'>

        style>
    head>
    <body>

        <form action="test.php" method="get">
            用户名:<input type="text" name='user' /> <br />
            密 码:<input type="password" name='pwd' /> <br />
            <input type="radio" name='sex' />男    <input type="radio" name='sex' /><br />
            <input type="submit" />
        form>

        
        

    body>
html>

你可能感兴趣的:(javasctipt,form)