<!DOCTYPE html> <html> <head> <title>Try jQuery Online</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script> $(document).ready(function() { $("#ali").click(function(){ var result = location.href + "/deneme"; location.href = result; }); }); </script> <style> </style> </head> <body> <input type="button" value="test" id="ali"> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more