문제

I am building a html table inside my JS code and I need to have something like

<a href="link goes here">click on me</a>

The inside of the a href needs to point to a controller action. The question is how do I do inside my JS?

도움이 되었습니까?

해결책

You can just add the controller and action to the href.

<a href='/ControllerName/ActionName'>click</a>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top