germanysbestkeptsecret / Wookmark-jQuery

A jQuery plugin to create a dynamic, multi-column layout.
MIT License
2.63k stars 759 forks source link

Refresh Wookmark on input change not click event #171

Closed tomross9 closed 10 years ago

tomross9 commented 10 years ago

I have a live search function working in conjunction with wookmark. I need the layout to refresh every time the input(search) field changes.

I've tried changing this: // Capture clicks on grid items. handler.click(function(){ // Update the layout. handler.wookmark();

to .keypress or .onchange but i've had no luck

Thanks in advance.

Sebobo commented 10 years ago

This is not really related to the plugin and more to jQuery itself.

Did you attach the .keypress or .change on the input or the handler?