我这样做的不满意是:
var myForm = $("#my-form");
var myElements = myForm.find(".first-class .second-class");
我做错了什么?
答案 0 :(得分:1)
由于元素位于,
元素内,因此您可以找到以逗号var myElements = myForm.find(".first-class, .second-class");
分隔的元素。样本:
ResponseEntity<Response> n2 = null;
n2 = n.postForEntity(mainUrl,u, Response.class);