Home > Web Front-end > JS Tutorial > body text

javaScript使用EL表达式的几种方式_javascript技巧

WBOY
Release: 2016-05-16 16:46:39
Original
1523 people have browsed it

1.可以使用双引号将EL表达式括起来,这个不是对所有的都行,只对适合${param}这种类型

2.可以将其作为javaScript中的函数的参数。

3.使用隐藏表单域将值传过去原理和(1)是一样的!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!