Help with anchor tag. |
[eluser]Guuulj[/eluser]
Hi guys. I have a problem with anchor tag. I have created controller which path is http://localhost/blog/blogcategory/5 When I manually insert that address in address bar, it take me to that page. On the side nav, i've placed anchor('blog/blogcategory/5', 'Click Here'); and it doesn't work. When I hover the mouse over a link, it prints out the right address. Any thoughts? Thanks! EDIT: It even work when I drag&drop; link to address bar!
[eluser]InsiteFX[/eluser]
Try this: Code: anchor(base_url('blog/blogcategory/5'), 'Click Here');
[eluser]Guuulj[/eluser]
Anchor tag gives me the right address, there is not a problem with that. Nevertheless, I tried and it didn't help. Anchor tag works even on the middle click.
|
Welcome Guest, Not a member yet? Register Sign In |