This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
/
utils.html
47 lines (39 loc) · 1.54 KB
/
utils.html
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
46
47
<!DOCTYPE html>
<!--
* Copyright 2011 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,target-densitydpi=device-dpi,user-scalable=no,initial-scale=1.0">
<link href="../../css/styles.css" rel="stylesheet" type="text/css">
<script src="../../js/standard.js" type="text/javascript" ></script>
<title> WebWorks APIs: blackberry.utils</title>
<script src="../../js/apis/utils.js" type="text/javascript"></script>
</head>
<body>
<h1>Utils API</h1>
<h2>Demo</h2>
<div class="demo" id="details">
<button id="btnURL" onclick="parseURL()">Parse URL</button>
<input type="text" id="txtURL" value="http://www.bla.com:8080/index.html?COUNTER=3&FOO=BAR" size="50"/>
<div id="urlDetails"></div>
<br/>
<br/>
<button onclick="generateUID()">Generate UID</button>
<input type="text" id="txtUID" size="50"/>
</div>
</body>
</html>