Source Code Highlight

This shortcode allows you to easily post syntax-highlighted code to your site without losing it's formatting.


jQuery( document ).ready(function( $ ){

    $( document ).on('submit', '.register_form', function( event ){
        event.preventDefault();

        $.ajax({
            data: "action=register_submit&" + $( this ).serialize(),
            dataType: 'json',
            type: "POST",
            url: _ajax_login_settings.ajaxurl,
            success: function( msg ) {
                //
            }
        });
    });

});

 

+