Welcome Guest, Not a member yet? Register   Sign In
Help with anchor tag.

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?
EDIT: It even work when I drag&drop; link to address bar!

Try this:
anchor(base_url('blog/blogcategory/5'), 'Click Here');

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.

Found it! JS was the problem.

Theme © iAndrew 2016 - Forum software by © MyBB