开发者

What is the meaning of the expression ${variable_name} in jQuery?

开发者 https://www.devze.com 2023-03-26 19:55 出处:网络
I know the dollar sign $ refers to the jQuery object but 开发者_C百科I don\'t know that the curly braces {} that follow do.

I know the dollar sign $ refers to the jQuery object but 开发者_C百科I don't know that the curly braces {} that follow do.

Is ${variable_name} referring to a jQuery attribute?

Thanks.


${} Template Tag :- Used for insertion of data values in the rendered template. Evaluates the specified field (property) on the current data item, or the specified JavaScript function or expression.

more details here

http://api.jquery.com/template-tag-equal/

0

精彩评论

暂无评论...
验证码 换一张
取 消