jeudi 23 janvier 2014

Need Asistance topic




I created a simple app that checks addresses.

The address then needs to be redirected to google maps, i found an easy way to redirect it to it using this code

HTML Code:


<a href="https://maps.google.com/maps?q=ADDRESS">

this code if for browser test purposes. i use this code on the actual app

HTML Code:


<a href="geo://0,0?q=ADDRESS" data-rel="external">

The selected address is being stored in an ID called NewAddr that ive located on the javascript

Code:


function map() {
  var oldAddr = document.getElementById("oldAddr");
  var newAddr = document.getElementById("newAddr");
  newAddr.innerHTML = h[oldAddr.value];
}


i need help to know how can i use the data that has been chosen from the ID (newAddr) to the selected <a href=

Regards.
Amir.





1 commentaire:

  1. Never take up a therapy program without the approval of a
    medical professional as this would put your condition at risk.
    The 14-amp universal motor is powered using a 35-foot GFCI power cord to prevent
    damage to the machine. They provided clear, concise descriptions of new applications users of yesteryear
    aren't familiar with when you place the cursor over the menu icon.

    RépondreSupprimer