Title: w3c validator error, jquery function
Last modified: August 20, 2016

---

# w3c validator error, jquery function

 *  [goses](https://wordpress.org/support/users/goses/)
 * (@goses)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/w3c-validator-error-jquery-function/)
 * Hi,
 * I have 4 errors when i validate my site, and i dont know how fix it.
    These errors
   are from initJQuery() function. Its generated in wp_head(). This function is 
   not necessary to me because i already added jquery.
 * i used this:
 *     ```
       wp_deregister_script('jquery');
       remove_action('wp_head', 'jquery');
       ```
   
 * but still this function is generated – initJQuery()
 * how remove it from wp_head?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Arie Putranto](https://wordpress.org/support/users/arieputranto/)
 * (@arieputranto)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/w3c-validator-error-jquery-function/#post-2918370)
 * AFAIK, WP doesn’t have initJQuery() method in it.
    And there’s no registered 
   action called ‘jquery’ on wp_head(). Also jquery is not loaded by default unless
   it’s load by the theme.
 * You may as well check your theme if it loads the iniJquery() method.
 *  Thread Starter [goses](https://wordpress.org/support/users/goses/)
 * (@goses)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/w3c-validator-error-jquery-function/#post-2918423)
 * This is not loads by the theme, because i made it from zero.
    Maybe its generated
   by some plugin. I must check it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘w3c validator error, jquery function’ is closed to new replies.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [validator](https://wordpress.org/support/topic-tag/validator/)
 * [W3C](https://wordpress.org/support/topic-tag/w3c/)
 * [wp_head](https://wordpress.org/support/topic-tag/wp_head/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [goses](https://wordpress.org/support/users/goses/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/w3c-validator-error-jquery-function/#post-2918423)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
