//saddr = blank input field for entering START address
//daddr = hard-coded END address
//Enter an address and press button and a popup window opens with directions.
//Enter no address, and just a map of the END address opens.
//in angular add ngNoForm attribute in form tag and method as GET
<form action="http://maps.google.com/maps" method="get" target="_blank">
<label for="saddr">Enter your location</label>
<input type="text" name="saddr" />
<input type="hidden" name="daddr" value="350 5th Ave New York, NY 10018 (Empire State Building)" />
<input type="submit" value="Get directions" />
</form>
Code Example |
---|
Html :: html how to change background color |
Html :: how to comment in html |
Html :: access particular array index in html template django |
Html :: fa fa users-class |
Html :: tailwind css input field |
Html :: electron reload html |
Html :: portfolio templates html |
Html :: name validation html |
Html :: html quote block |
Html :: github icon html |
Html :: link css file |
Html :: input submit icon |
Html :: a link in new window |
Html :: white text html |
Html :: HTML <i and <em Elements |
Html :: meta redirect |
Html :: mysql dependency |
Html :: content editable |
Html :: corona cases in pakistan |
Html :: flutter build web with html render |
Html :: parse html with regex |
Html :: clear form value after submit |
Html :: git pull one file |
Html :: html typing shortcuts |
Html :: html input autocomplete=off not working |
Html :: html script element |
Html :: html stands for |
Html :: bootstrap hide row |
Html :: bootstrap form-switch |
Html :: vuejs v-for array index |