jQuery.mobile.path.get( url )Returns: Boolean
Description: Utility method for determining the directory portion of an URL.
-
jQuery.mobile.path.get( url )
-
urlType: String
-
Utility method for determining the directory portion of an URL. If the URL has no trailing slash, the last component of the URL is considered to be a file. This function returns the directory portion of a given URL.
Example:
Various uses of jQuery.mobile.path.get
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
|