Title: Widgets Interface &#8211; JavaScript Init
Last modified: August 19, 2016

---

# Widgets Interface – JavaScript Init

 *  [Brandon Dove](https://wordpress.org/support/users/brandondove/)
 * (@brandondove)
 * [17 years ago](https://wordpress.org/support/topic/widgets-interface-javascript-init/)
 * I’ve just updated the [RSS Icon Widget](http://wordpress.org/extend/plugins/rss-icon-widget/)
   to 2.8 but I ran into a problem with the dynamic creation of widget controls.
   The problem I’m having is that since I’m using Farbtastic as an input, it’s not
   being initialized when the widget gets created, instead Farbtastic is initialized
   at $(document).ready.
 * I’m trying to figure out if there is a way to initialize each widget instance
   in the sidebar when it is dropped into the sidebar area. The widget works once
   it has been saved once, but that sucks. Anyone know enough about what’s going
   on in the drag/drop of the widget interface to help me tie my Farbtastic initialization
   code into it?
 * thanks!
    Brandon

The topic ‘Widgets Interface – JavaScript Init’ is closed to new replies.

## Tags

 * [Farbtastic](https://wordpress.org/support/topic-tag/farbtastic/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [Brandon Dove](https://wordpress.org/support/users/brandondove/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/widgets-interface-javascript-init/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
