538770
请问juery中setAttribute("class", "current")和$!{rootPath}index怎么理解?
请问juery中setAttribute("class", "current")和$!{rootPath}index怎么理解?
@mmXiaoYao 贴一下上下文吧。估计用了某个template engine。要结合起来才能看明白。
setAttribute 是该html node的attribute。多看看文档
那个{root Path}不像是jquery里的。像是模版里的变量替换