Skip to content

Instantly share code, notes, and snippets.


videlais/test.js Secret

Last active January 26, 2017 23:32
What would you like to do?
jQuery(document).ready( function($) {
var data = {
'action': ‘example_function’,
‘some_value’: 1234
$.post(ajaxurl, data, function(response) {
console.log('Got this from the server: ' + response);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment