Title: jQuery Optimization in my plugin
Last modified: August 19, 2016

---

# jQuery Optimization in my plugin

 *  [rsanchez112](https://wordpress.org/support/users/rsanchez112/)
 * (@rsanchez112)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/jquery-optimization-in-my-plugin/)
 * Hello, in my plugin I have been using regular document.getElementById and other
   javascript functions, but I’ve been recently changing to jQuery functions. I 
   noticed that using jQuery took much longer than the native javascript functions
   and the profiler revealed that several calls were made to wp-admin/load-scripts.
   php.
 * Since I’m using jQuery here, it seems to call load-scripts.php every time there
   is a jQuery call, and in one block there are as many as 17566 calls. What I want
   to know is if there is a way for me to use jQuery without having all those extraneous
   calls which really don’t do much for me.

The topic ‘jQuery Optimization in my plugin’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [rsanchez112](https://wordpress.org/support/users/rsanchez112/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/jquery-optimization-in-my-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
