82856/how-to-get-the-current-url-with-javascript
Hello @kartik,
Use:
window.location.href
As noted in the comments, the line below works, but it is bugged for Firefox.
document.URL;
Hope it helps!!
Thank You!!
Hello @kartik, This is possible, but you'll have ...READ MORE
Hello @kartik, Use AJAX to update the view: $(document).ready(function() { ...READ MORE
Hello @kartik, Use this function: <?php $string = 'http%3A%2F%2Fexample.com'; $output = ...READ MORE
Hello @kartik, Use this: var filename = fullPath.replace(/^.*[\\\/]/, '') This ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, Use: var host = window.location.hostname; or possibly var host ...READ MORE
Hii, This works in all browsers: window.location.href = '...'; If ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.