how to get the url path in jquery json
-
I am using jQuery ajax below code, I had problem with url in the code below register.aspx page in register folder $.ajax({ type: "POST", url: '/register/register.aspx/LoadOtherStates', data: '{Country_ID: ' + $(this).val() + '}', contentType: "application/json; charset=utf-8", dataType: "json", the register.aspx page in root folder its working fine but my "register.aspx" page in "register" folder in this case url does not find. how to get the path of the "register.aspx" page in "register" folder
-
Answer:
It might be easier to just write the absolute path? http://www.yoursite.com/register.aspx/LoadOtherStates Does this make sense? Your question seems to be unclear.
satish at Stack Overflow Visit the source
Related Q & A:
- How to get correct URL in HTTP header?Best solution by Stack Overflow
- How to Get Current Browser URL in Code Behind?Best solution by stackoverflow.com
- How to get live stream url from youtube live?Best solution by Stack Overflow
- How to get current month and year in jquery?Best solution by stackoverflow.com
- How to get real path of an image in Java?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.