Link to home
Start Free TrialLog in
Avatar of oconnork00
oconnork00Flag for United States of America

asked on

Call page on button press

Hi all,

I have used some code provided by Twilio in order to make an SMS send to my cell phone upon page load.

Here's the code I used from :Twilio

So, upon page load I will receive an SMS. Great.

But what/how can I make that code get called by pressing a button on my webpage, rather than loading up the page?

If, for example a customer submits an order form, I'd like the submit button to also go to that page from the twilio code, without actually loading the page.

How can I do this?

Thanks in advance
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oconnork00


Perfect, thank you. I can see that would work perfectly now.