Title: initialize manually
Last modified: August 30, 2016

---

# initialize manually

 *  [Rasso Hilber](https://wordpress.org/support/users/nonverbla/)
 * (@nonverbla)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/initialize-manually/)
 * Hi there,
 * I am copying the search ui to a [sidr](http://www.berriart.com/sidr/) menu, so
   I would need a way to re-init the ui after this copy procedure. Basically it 
   would be nice to have a public js function available to init do the same thing
   that is now happening on `$(document).ready()`.
 * This would also come in handy on an ajaxifyed site.
 * [https://wordpress.org/plugins/wp-search-live/](https://wordpress.org/plugins/wp-search-live/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Rasso Hilber](https://wordpress.org/support/users/nonverbla/)
 * (@nonverbla)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/initialize-manually/#post-6396959)
 * actually the only two things I had to change were the following:
 *     ```
       // line 27
       $(document).on('keyup keypress', input, function ( e ) {
       ```
   
 *     ```
       // line 138
       $( document ).on('click', clearItem, function(e){
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘initialize manually’ is closed to new replies.

 * ![](https://ps.w.org/wp-search-live/assets/icon-256x256.png?rev=1181349)
 * [WP Live Search](https://wordpress.org/plugins/wp-search-live/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-search-live/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-search-live/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-search-live/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-search-live/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-search-live/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Rasso Hilber](https://wordpress.org/support/users/nonverbla/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/initialize-manually/#post-6396959)
 * Status: not resolved