File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
border-color: #108040;
23
23
padding: 10px;
24
24
}
25
- ]]> </css >
25
+ ]]> </css >
26
26
<html ><![CDATA[
27
27
<div data-role="content">
28
28
<p>The absoulte URL used is http://foo.com/a/b/c/test.html</p>
35
35
</div>]]> </html >
36
36
<code ><![CDATA[
37
37
$(document).ready(function() {
38
-
38
+
39
39
$( ".myButton" ).on( "click", function() {
40
-
40
+
41
41
var absUrl = $.mobile.path.makeUrlAbsolute( $( this ).attr( "value" ), "http://foo.com/a/b/c/test.html" );
42
-
42
+
43
43
$( "#myResult" ).html( absUrl );
44
- })
44
+ })
45
45
});
46
46
]]> </code >
47
47
</example >
48
48
<longdesc >
49
49
<p >This function returns a string that is an absolute version of the relative URL passed in.</p >
50
50
</longdesc >
51
51
<category slug =" methods" />
52
- </entry >
52
+ </entry >
You can’t perform that action at this time.
0 commit comments