Skip to content

Instantly share code, notes, and snippets.

@Javex
Created June 22, 2013 19:03
Show Gist options
  • Save Javex/5842144 to your computer and use it in GitHub Desktop.
Save Javex/5842144 to your computer and use it in GitHub Desktop.
function submit_phone_no()
{
$.ajax({
url: "...", // your server URL here
type: "get",
dataType: "jsonp", // important for cross-domain!!
data: {phone_number: 01233 }, // figure out where to get this data!
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment