I want use autocomplete in text ,but it isn’t work
this is my code
in
scheduler.form_blocks[“my_editor”]={
render:function(sns){
return "
},
set_value:function(node,value,ev)
{
node.childNodes[1].value=value||”";
//node.childNodes[4].value=ev.details||"";
},
get_value:function(node,ev){
//ev.location = node.childNodes[4].value;
return node.childNodes[1].value;
},
focus:function(node){
var a=node.childNodes[1]; a.select(); a.focus();
}
}
scheduler.config.lightbox.sections=[
{ name:“userselect”, height:30, type:“select”, options: scheduler.serverList(“m_en”), script_url: ‘php/events_multiselect_options.php’, map_to:“m_en”},
{ name:“fruitselect”, height:30, type:“my_editor”, map_to:“sj_id”},
{ name:“time”, height:72, type:“calendar_time”, map_to:“auto”},
{ name:“abolishevent”,height:0,type:“multiselect”,options: scheduler.serverList(“al_id”),map_to:“al_id”,button:“recurring”},
{ name:“location”, height:50, map_to:“rec_date”, type:“my_editor”},
]
please help me~~~~