[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Ajax Dynamic List filter
Page 1 of 3

Ajax Dynamic List filter

PostPosted: Thu Nov 04, 2010 6:43 pm
by fahad.direct
Ajax Dynamic List filter works excellent. Is there way to submit form on click? Any Help please.

Re: Ajax Dynamic List filter

PostPosted: Tue Nov 09, 2010 12:03 pm
by fahad.direct
Any possibility :-(

Re: Ajax Dynamic List filter

PostPosted: Tue Nov 09, 2010 1:19 pm
by Batalf

Re: Ajax Dynamic List filter

PostPosted: Tue Nov 09, 2010 1:54 pm
by fahad.direct
Excellent thanks Batalf, it worked :D

If i am typing in textbox it selects first value as by default. Is there any way to stop it?

Re: Ajax Dynamic List filter

PostPosted: Tue Nov 09, 2010 3:22 pm
by fahad.direct
I have changed optionsAdded to false inside the for loop for(var no=0;no<ajax_list_cachedLists[paramToExternalFile][letters.toLowerCase()].length;no++){
It worked fine as well.

Only one issue left is the windows default dropdown which brings the values from cache if we can get a rid of it as well?

Re: Ajax Dynamic List filter

PostPosted: Tue Nov 09, 2010 5:39 pm
by Batalf

Re: Ajax Dynamic List filter

PostPosted: Wed Nov 10, 2010 2:32 pm
by fahad.direct
Thanks Batalf, Much appreciated, great forum and great help :-)

Re: Ajax Dynamic List filter

PostPosted: Wed Nov 10, 2010 4:02 pm
by fahad.direct
The code i have changed to stop first item selection in dropdown worked by making optionsAdded=false inside the for loop for(var no=0;no<ajax_list_cachedLists[paramToExternalFile][letters.toLowerCase()].length;no++){

It worked for the first time only and stopped to open dropdown again.

Is there any other way to stop default first item selection from the dropdown?

Re: Ajax Dynamic List filter

PostPosted: Wed Nov 10, 2010 6:20 pm
by Batalf

Re: Ajax Dynamic List filter

PostPosted: Thu Nov 11, 2010 12:06 pm
by fahad.direct
Many thanks Batalf, it worked :-)