set value on combobox from Startup Script

Hi Experts.
I need your Help again.
I’m trying to set a value to a combobox from Startup Script<-EditPage<-ClientScripts.

i writed this code:
$(document).ready(function(){
if(1>0){
$(“#x_estado”).prop(‘value’, ‘X’);elp
console.log(“logrado”);
}
});

but this code dont work

Thanks for your help
Richard

If the field is a lookup field (with lookup table or user values), you need to use the “updatedone” events, see the topic Server Events and Client Scripts → Client Scripts → “Table-Specific → Add/Copy page” → Client Script → Example 3 in the help file.