i am using mvc and jquery in my application i have the routing url like this :
ID/Controller/Action
I want to get the URL and split it to get the id in jquery
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i see that your first param is the id with this piece of code you can get the id in jquery