Hello my name Nueng (1) name in thai
i want to know , when i use Autocompleter to create a event to
Textfield. and i need to change option in Autocompleter function by
dynamic value to option.
Ex. i have 2 radio option, if user change i want to change option in
Autocompleter
var valSel = ””;
var form = document.forms;
with(form){
if(rdoDataType.checked){
var val1 = FindSelect[FindSelect.selectedIndex].value
valSel = “rdoData=0&val1=”+val1;
}else{
var val1 = FindSelect2[FindSelect2.selectedIndex].value
valSel = “rdoData=1&val1=”+val1;
}
}
new Ajax.Autocompleter(“FindTextBox”, “autoCompleteMenu”,
“autocomplete1_ajax.asp”, { paramName: “Value”,parameters:
””+valSel });
cuz i have sql query deferent between radio options.
** Can i use Thai language for this function ?
** Can i bind dynamic value to parameters ?
thank you for answer
sorry, I’m not well english ..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---