angular.js - a tag in angular not working
ringa_lee
ringa_lee 2017-05-16 13:20:09
0
4
812

Code in angular:

<td><a href={{"http://www.baidu.com"}}></a> </td>

A record in angular has an a tag nested in the middle. I want the URL address to jump when clicked, but it doesn't work. What should I do?

ringa_lee
ringa_lee

ringa_lee

reply all(4)
習慣沉默

How can I jump to a tag without href?

Peter_Zhu

Remove the curly braces and write directlyhref="http://www.baidu.com"

刘奇

Remove the brackets. If it still doesn’t work, see if the default event is blocked and use js directly

黄舟

A label has no width and height, resulting in an empty position and cannot be clicked!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template