摘要: alert("Text: " + $("#test").text());获取text alert("HTML: " + $("#test").html());获取html alert("Value: " + $("#test").val());获取输入字段的值 获得链接中 href 属性的值 $(" 阅读全文