怎么在html标签的属性值位置调用js方法?
也就是在 “属性名=” 后边的位置的双引号中写js方法,例如:
<div title='javascript:getText("app9")' > </div>
请问怎么能做到这种效果?