Can I use my jquery script in an Excel spreadsheet? I am trying to use geolocation to be able to automatically populate an address. I can do it via html. http://jsfiddle.net/bobrierton/13ffw6ko/ But I wonder how I can achieve the same goal on an excel sheet.
I want the columns in the spreadsheet to be Address, City, State, Zipcode, and then every time the address is clicked, I want it to populate and give recommendations like my version of html here.
Someone please help as possible.
var placeSearch, autocomplete; var componentForm = { route: 'long_name', locality: 'long_name', administrative_area_level_1: 'short_name', postal_code: 'short_name' }; function initialize() {
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places"></script> <body onload="initialize()"> <div id="locationField"> <div class="clearfix"> <label for="street_<cfoutput>#Add#</cfoutput>">Mailing Address 1:</label> <input type="text" name="street_#Add#" validateat="onSubmit" validate="maxlength" required="yes" id="autocomplete" size="54" maxlength="120" message="Please enter owner #Peoplecount# mailing address." onFocus="geolocate()" value=""> </div> <div class="clearfix"> <label for="m2street_<cfoutput>#Add#</cfoutput>">Mailing Address 2:</label> <input type="text" name="m2street_#Add#" validateat="onSubmit" required="no" validate="maxlength" id="route" size="54" maxlength="120" value=""> </div> <div class="clearfix"> <label for="city_<cfoutput>#Add#</cfoutput>">City:</label> <input type="text" name="city_#Add#" validateat="onSubmit" validate="maxlength" required="yes" id="locality" size="30" maxlength="50" message="Please enter owner #Peoplecount# mailing city." value=""> </div> <div class="clearfix"> <label for="state_<cfoutput>#Add#</cfoutput>">State:</label> <input type="text" name="state_#Add#" required="yes" id="administrative_area_level_1" size="8" maxlength="12" message="Please enter owner #Peoplecount# mailing state." value=""> </div> <div class="clearfix"> <label for="street_<cfoutput>#Add#</cfoutput>">Zip Code:</label> <input type="text" name="postal_#Add#" required="yes" id="postal_code" size="8" maxlength="12" message="Please enter owner #Peoplecount# mailing zip code." value=""> </div> </div>
source share