Q:

how to get #jumper part from url in codeigniter?

My Url is
http://www.domain.com/seg_one/seg_two/seg_three#jumper

I want to get #jumper part of current url

A:

In JavaScript, you can get this by simply location.hash property of window object. i.e.
window.location.hash;  // will give you #jumper.

From here once you have it on the client side, do anything you want with it. You can send it back to server by even making an ajax call.

