我做了仿hao123邮箱登录功能  其中需要添加一项@yoholm.com登录  这个是腾讯的企业邮箱  JS代码要怎么实现

解决方案 »

  1.   

    用一个FORM  包含所需要的元素
     提交到他企业邮箱登录提交的目标地址就行了
      

  2.   

    去腾讯的企业邮箱的页面查看它的FORM设置就知道了。
      

  3.   

    参照下
    <form onsubmit="return checkInput();" action="https://exmail.qq.com/cgi-bin/login" method="post" name="form1">
    <input type="hidden" value="" name="sid">
    <input type="hidden" value="false" name="firstlogin">
    <input type="hidden" value="" name="domain">
    <input type="hidden" value="other" name="aliastype">
    <input type="hidden" value="dm_loginpage" name="errtemplate">
    <input type="hidden" name="starttime">
    <input type="hidden" name="redirecturl">
    <input type="hidden" value="biz" name="f">
    <input type="hidden" value="" name="uin">
    <input type="hidden" name="p"> <input type="hidden" value="" name="delegate_url">
    <input type="hidden" value="1301804906" name="ts"> <input type="hidden" value="" name="from">
    <input type="hidden" value="" name="ppp">
    <input type="hidden" value="0" name="chg">
    <input type="hidden" value="3" name="loginentry">
    <input type="hidden" value="" name="target">
    <input type="hidden" value="" name="s">
    <input type="hidden" value="bizmail" name="dmtype">
    <div style="height: 25px;">
    <label class="column" for="uin">帐 号:</label>
    <input type="text" style="ime-mode: disabled;" tabindex="1" value="" name="inputuin" id="inputuin" class="txt text">
    </div>

    <label class="column" for="pp">密 码:</label><input type="password" class="txt text" tabindex="2" value="" name="pp" id="pp">
    <label class="column" for="vc">验证码:</label>
    <input type="text" class="txt text" maxlength="4" autocomplete="off" style="ime-mode: disabled;" tabindex="4" value="" name="verifycode" id="vc">
    </div>
    <div style="clear: both; margin: 6px 0pt 0pt 62px; color: rgb(210, 226, 230);">按下图字符填写,不区分大小写</div>
    <div style="margin: 6px 0pt 6px 62px; color: rgb(210, 226, 230);">
    <script type="text/javascript">
        document.write("<img id='vfcode' src='https://exmail.qq.com/cgi-bin/getverifyimage?aid=23000101&amp;f=html&amp;ck=1&amp;",Math.random(),"' style='cursor:pointer;border:1px solid #e4eef9' onclick='changeimg()'>");
    </script>

    <input type="submit" tabindex="3" name="btlogin" id="btlogin" style="cursor: pointer;" value="登 录" class="btn bold wd2">

       </form>
      

  4.   

    http://topic.csdn.net/u/20090416/02/10b3262f-4af2-4a04-8b17-48b84276b77d.html
      

  5.   


    我看了下腾讯的From设置 弄好了之后 登陆 直接跳到企业邮箱登陆也面 不进邮箱