smarty模板文件.tpl在写标签的样式设置的时候href属性值为什么写“javascript:”就能完成,这样写了怎么实现的,就是样式设置的路径是怎么读取的

WBOY
Release: 2016-06-23 14:22:44
Original
970 people have browsed it

smarty javascript 标签 href

', 'zip01', 'zip02', 'state', 'addr01'); return false;" target="_blank">所在地入力
如果说这里是用来设置样式的,那么具体是怎么读取样式的路径的?

回复讨论(解决方案)

这里不是设置样式的,javascript:; 是个死链接,就是你点击a标签后不会跳转。主要用来调用js脚本。

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