2
간단한 질문으로 간단한 문제. C#에서 문자열이 있습니다. uri를 통해 입력하고 LocalPath에 액세스 할 수 있습니다.jquery/JS의 uri LocalPath를 가져 오시겠습니까?
jquery 또는 javascript에서 LocalPath를 얻으려면 어떻게해야합니까? (localPath를 "/의 ASAS")
AbsolutePath: "/asas"
AbsoluteUri: "http://z.com/asas?sadfdsgfg"
Authority: "z.com"
DnsSafeHost: "z.com"
Fragment: ""
Host: "z.com"
HostNameType: Dns
IsAbsoluteUri: true
IsDefaultPort: true
IsFile: false
IsLoopback: false
IsUnc: false
LocalPath: "/asas"
OriginalString: "http://z.com/asas?sadfdsgfg"
PathAndQuery: "/asas?sadfdsgfg"
Port: 80
Query: "?sadfdsgfg"
Scheme: "http"
Segments: {string[2]}
UserEscaped: false
UserInfo: ""