Help with anchor tag.

#1
[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!

#2
[eluser]InsiteFX[/eluser]
Try this:
Code:
anchor(base_url('blog/blogcategory/5'), 'Click Here');

#3
[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.

#4
[eluser]Guuulj[/eluser]
Found it! JS was the problem.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.