Nicu DICA
Posts: 0
Joined: Wed Jun 27, 2012 8:13 am

Sending SMS - Using input box values.

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Sending SMS - Using input box values.

Try

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

or

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

to see if anything prints.

Nicu DICA
Posts: 0
Joined: Wed Jun 27, 2012 8:13 am

Sending SMS - Using input box values.

Hi Max!

Really appreciate...

The case benn solved..

Thank you.

Return to “Issues”