I am trying to send an email from an HTML page using JS
In windows the outlook opens up and the fields are populated , however when I click on the same link to the HTML on my iphone ,

var subject = "NPS:" + document.getElementById("jid").value
var emailto = "sed.ahimi@ico.com"
var BodyMessage = "Node:"+subject+'%0D%0A'+"SCORE:" +document.getElementById("myRange").value+'%0D%0A'+"COMMENTS:"+document.getElementById("notes").value+""

var wmail="mailto:"+emailto +"?subject="+subject+"&body="+BodyMessage;
window = window.open(wmail, 'emailWindow')

I don't see anything being opened

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.