Hi i am using this code to get this path : http://192.168.1.5:83/staging/eleave/application/view/leave_approval.php
var url = document.location.toString();
Question is how to get this path only? : http://192.168.1.5:83/staging/eleave/application/