如何从 jQuery 中通过name取带“.”的子类属性值

[code="java"]public class YearEstimateTempletDetailVO implements Serializable{
private static final long serialVersionUID = 8944202225843985319L;

private EstimateItemVO quantitativeIndex;//量化指标下的小项信息
private EstimateItemVO keyWork;//重点工作下的小项信息
private EstimateItemVO dailyManagement;//日常管理下的小项信息
private EstimateItemVO satisfaction;//满意度下的小项信息[/code]

}
[code="java"]public class EstimateItemVO implements Serializable{
private String weight="";//权重
}
[/code]

Form的实体类为YearEstimateTempletDetailVO, 其中套有四个大类,其中之一为quantitativeIndex。
需要取quantitativeIndex中的属性weight,在表单提交前进行验证。

[code="html"][/code]

这样的写法在jQuery中调取不到
而且quantitativeIndex在页面中是动态添加的,个数未知,不方便逐一添加id

请问name名为quantitativeIndex.weight如何取值

document.getElementsByName('quantitativeIndex.weight')
似乎能取到,但很难对对象进行进一步操作

谢谢。

var lhzb = $("#lhzb input[name='quantitativeIndex.weight']").val();

转义,api上有。

$(":text[name='quantitativeIndex.weight']") 不行吗?