<script language="javascript" type="text/javascript">
        $(function() {
            $("#txtInput").attr("value", "90");
            var v_temp = $("#lblMessage").text();
            //alert(v_temp);
            $("#txtInput01").attr("value", v_temp);
            $("#div1").removeClass("div1");
            $("#div1").addClass("divtest");
            var flog = $("#div1").hasClass("divtest");
            $("#div1").html("<input type='button' id='id123' style='width:100px; height:150px'>");
            var t01 = $("#table01 tr").length;
            alert(t01);
            $("#table01").find("td").each(function(i) {
                var t = $(this).text();
                alert(t);
            })


        });

 <form >
  
    </div>
    </form>

相关文章: