-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
36 lines (34 loc) · 1.25 KB
/
example.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
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
<script src="./dist/sepomex-form-plugin.min.js"></script>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<div id='map' style='width:400px; height:500px;'> </div>
<form id="CustomFormContainer" action="" method="post">
<p>Numero</p>
<input type="text" name="" id="AddressNumber" value=""/>
<p>Calle</p>
<input type="text" name="" id="AddressStreet" value=""/>
<p>Colonia</p>
<input type="text" name="" id="AddressSuburb" value=""/>
<p>ZipCode</p>
<input type="text" name="" id="AddressZipCode" value=""/>
<p>Ciudad</p>
<input type="text" name="" id="AddressCity" value=""/>
<p>Estado</p>
<input type="text" name="" id="AddressState" value=""/>
<p>Pais</p>
<input type="text" name="" id="AddressCountry" value=""/>
</form>
<script type="text/javascript">
$.fn.sepomexForm.defaults.formContainer = "#CustomFormContainer";
$.fn.sepomexForm.defaults.mapContainer = "#map";
$("#form").autocompleteForm();
$.fn.sepomexForm();
</script>
</body>
</html>