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

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

WBOY
WBOYOriginal
2016-06-13 12:34:011142browse

smarty模板文件.tpl在写标签的样式设置的时候href属性值为什么写“javascript:”就能完成,这样写了怎么实现的,就是样式设置的路径是怎么读取的
javascript:;" onclick="fnCallAddress('', 'zip01', 'zip02', 'state', 'addr01'); return false;" target="_blank">所在地入力
如果说这里是用来设置样式的,那么具体是怎么读取样式的路径的?

smarty javascript 标签 href
Statement:
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