[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Dan G. Switzer, II
createAutoComplete = function() { return $(#input_box).autocomplete(/buscarServidor/, { delay:10, minChars:2, matchSubset:1, matchContains:1, cacheLength:10,

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread tuliopaiva
I would like to add a parameter with the id of the hidden input that will have the hidden value of the item. something like this: = function findValue(li, hidden_id) { //add the hidden_id parameter if( li == null ) return alert(No match!); // if coming from an AJAX call, let's

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Ⓙⓐⓚⓔ
onFindValue:function(li){findValue(li,1,2,3,4)}, On 5/31/07, tuliopaiva [EMAIL PROTECTED] wrote: I would like to add a parameter with the id of the hidden input that will have the hidden value of the item. something like this: = function findValue(li, hidden_id) { //add the hidden_id

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Dan G. Switzer, II
I would like to add a parameter with the id of the hidden input that will have the hidden value of the item. something like this: = function findValue(li, hidden_id) { //add the hidden_id parameter if( li == null ) return alert(No match!); // if coming from an AJAX call, let's

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread tuliopaiva
I'm trying to add get a parameter with the id of the hidden input. something like this: = function findValue(li, hidden_id) { //add the hidden_id parameter if( li == null ) return alert(No match!); // if coming from an AJAX call, let's use the id as the value if(