jquery.com​​boboxtmpl 0.98

Rating: No reviews yet
Downloads: 0
Change Set: 4ce7e08094c1
Released: May 30, 2011
Updated: Jun 26, 2011 by SowingSadness
Dev status: Beta Help Icon

Available Downloads

There are no downloads associated with this release.

Release Notes

Download All In One*

Changes

  1. fixed all bugs in v0.97 - epic fail relise -((
  2. rename controller "search" to "setSource"
  3. delete setTimout mechanism
  4. return entered value in filter field on opening combobox.

Example

	function callback( value ) 
	{
		var aSource = {
		"1":[  { name: 'Value 1', value: '1-1' }, { name: 'Value 1_2', value: '1-2' }, { name: 'Value 1_3', value: '1-3' }]
		"2":[  { name: 'Value 2', value: '2-1' }, { name: 'Value 2_2', value: '2-2' }, { name: 'Value 2_3', value: '2-3' }]
		"3":[  { name: 'Value 3', value: '3-1' }, { name: 'Value 3_2', value: '3-2' }, { name: 'Value 3_3', value: '3-3' }]
		}
		// here can be your AJAX

		this.setSource( aSource[value] );
	}
	var settings = {
		'source'		:	callback,
		'autocomplete'	:	true,
		'templateItem'	:	'<li data-value="${value}" style="clear:left;">${name} </li>',
		'height'		:	'22px',
		'allowFilter'	:	false,
		'selected'		:	'luffy',
		'class'			:	'big-image',
		'tabindex'		:	'4'
	};
	$( "#autocomplete" ).comboboxtmpl( settings );

Important

Use jquery.combobox.template.js from "demo siute".
jquery.combobox.template.js in "dev" folder used for debugging with Eclipse PDT.

Reviews for this release

No reviews yet for this release.