how to remove default jquery and add js in footer?

I want to remove default jQuery, because I am adding new or latest jQuery. Also I want include some js in my footer. How can I do that?

I want to add another different js like a slider js or css in my footer.

Solutions Collecting From Web of "how to remove default jquery and add js in footer?"

This will do the trick when added to your functions file:

if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
function my_jquery_enqueue() {
   wp_deregister_script('jquery');
   wp_register_script('jquery', "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false, null);
   wp_enqueue_script('jquery');
}

I am searching i get one blog here i get two different different code. one for

Remove Default Jquery In WordPress

Here i am same code for below

<?php
function myphpinformation_scripts() {    


    if( !is_admin()){
 wp_deregister_script('jquery');
 wp_register_script('jquery', get_stylesheet_directory_uri() . '/js/jquery.min.js', false);
 wp_enqueue_script('jquery');
}

}

add_action( 'wp_enqueue_scripts', 'myphpinformation_scripts' );
?>

Add Jquery In Footer In WordPress

here i know how to add js in wordpress in footer. i think remove default jquery and
add js in footer in wordpress are different question.

Here i can found that

<?php
function myphpinformation_scripts() {    
            wp_enqueue_script( 'scroll', get_stylesheet_directory_uri() . '/js/script.js',array('jquery'),'',true);
}

add_action( 'wp_enqueue_scripts', 'myphpinformation_scripts' );
?>