This simple plugin binds select element with eZ Publish CMS view parameters.
When selecting an option eZ Publish view parameter will be added to the URL as follows:
(name)/value
Options with value of -1 will be removed from URL.
Plugin will preserve protocol, GET parameters, hash and any eZ Publish view parameters not present in select element.
Usage
HTML:
<select name="some_name"> <option value="-1">Select an option</option> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> </select>
Javascript:
$('select').eZFilter();
Demo
The fox jumped over the dog.
How fast the fox was?
Did you see what color the fox had?
How the dog reacted?
Download
Version 1.0
Short backstory of the Blog: Sharing our experience from various web projects based on eZ Publish, HTML5, MySQL, jQuery, CSS, etc. and focusing on solving problems we encountered