eZ Filter jQuery plugin

by Petar Španja -

eZ Filter jQuery plugin is a simple plugin which binds select element with eZ Publish CMS view parameters.

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

Download

Version 1.0

ezembed

This site uses cookies. Some of these cookies are essential, while others help us improve your experience by providing insights into how the site is being used.

For more detailed information on the cookies we use, please check our Privacy Policy.

  • Necessary cookies enable core functionality. The website cannot function properly without these cookies, and can only be disabled by changing your browser preferences.