Page 1 of 1

Sending SMS - Using input box values.

Posted: Wed Jun 27, 2012 8:13 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.


Sending SMS - Using input box values.

Posted: Wed Jun 27, 2012 1:11 pm
by maxkatz

Try

code
console.log(telefon.val());
/code

or

code
alert (telefon.val());
/code

to see if anything prints.


Sending SMS - Using input box values.

Posted: Tue Jul 03, 2012 11:35 am
by Nicu DICA

Hi Max!

Really appreciate...

The case benn solved..

Thank you.