jQuery 제어 양식 제출

6040 단어 jQuery
/span>html>
lang="en">

    charset="UTF-8">
    </span>jQuery<span style="font-family:'  ';">      </span>.html<span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;">    <script><span style="color:#bababa;">type=</span><span style="color:#a5c261;">"text/javascript" </span><span style="color:#bababa;">src=</span><span style="color:#a5c261;">"../js2/jquery-1.7.2.js"</span><span style="color:#e8bf6a;">></script>
</span><span style="color:#e8bf6a;">    <script><span style="color:#bababa;">type=</span><span style="color:#a5c261;">"text/javascript"</span><span style="color:#e8bf6a;">>
</span><span style="color:#e8bf6a;">        </span><span style="color:#9876aa;">$</span>(document).<span style="color:#ffc66d;">ready</span>(<span style="color:#cc7832;"><strong>function </strong></span>() {
            <span style="color:#9876aa;">$</span>(<span style="color:#6a8759;">"#form"</span>).<span style="color:#ffc66d;">submit</span>(<span style="color:#cc7832;"><strong>function </strong></span>() {
                <span style="color:#808080;">// if("</span><span style="color:#808080;font-family:'  ';">    </span><span style="color:#808080;">"){
</span><span style="color:#808080;">                //     return true;
</span><span style="color:#808080;">                // }else{
</span><span style="color:#808080;">                //     //</span><span style="color:#808080;font-family:'  ';">    
</span><span style="color:#808080;font-family:'  ';">                </span><span style="color:#808080;">//     return false;
</span><span style="color:#808080;">                // }
</span><span style="color:#808080;">                //window.location.href = "index.jsp";
</span><span style="color:#808080;">
</span><span style="color:#808080;">            </span>})
        })
    <span style="color:#e8bf6a;"></script>
</span><span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;"><form><span style="color:#bababa;">action=</span><span style="color:#a5c261;">"postServlet5" </span><span style="color:#bababa;">method=</span><span style="color:#a5c261;">"post" </span><span style="color:#bababa;">id=</span><span style="color:#a5c261;">"form"</span><span style="color:#e8bf6a;">>
</span><span style="color:#e8bf6a;">    </span><span style="font-family:'  ';">   :</span><span style="color:#e8bf6a;"><input/><span style="color:#bababa;">type=</span><span style="color:#a5c261;">"text" </span><span style="color:#bababa;">name=</span><span style="color:#a5c261;">"username" </span><span style="color:#bababa;">id=</span><span style="color:#a5c261;">"username"</span><span style="color:#e8bf6a;">/><br/>
</span><span style="color:#e8bf6a;">    </span><span style="font-family:'  ';">  :</span><span style="color:#e8bf6a;"><input/><span style="color:#bababa;">type=</span><span style="color:#a5c261;">"password" </span><span style="color:#bababa;">name=</span><span style="color:#a5c261;">"password" </span><span style="color:#bababa;">id=</span><span style="color:#a5c261;">"password"</span><span style="color:#e8bf6a;">><br/>
</span><span style="color:#e8bf6a;">    <input/><span style="color:#bababa;">type=</span><span style="color:#a5c261;">"submit" </span><span style="color:#bababa;">value=</span><span style="color:#a5c261;">"submit"</span><span style="color:#e8bf6a;">/>
</span><span style="color:#e8bf6a;"/></span></span></span></form>
</span><span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;">
</span><span style="color:#e8bf6a;"/></span></span></span></code></pre> 
 </div> 
</div>
                            </div>
                        </div>

좋은 웹페이지 즐겨찾기