Page 1 of 1

Sending SMS - Using input box values.

Posted: Wed Jun 27, 2012 8:15 am
by Nicu DICA

Hi everybody!

I' have a small problem with my project.

Trying to send an normal sms, ussing 2 input text boxes but when I'm redirected to the message app, the values are not read it correctly.

Here its the js code:

var telefon = Tiggr ('nrtelv');
var tmesaj = Tiggr ('mesaj');

window.location.href='sms:+4'+telefon.val()+'?body='+tmesaj.val()+';

Where I'm wrong?
Please help me...
Thank you.