Insert option with Javascript

Insert option with Javascript

  
Hi everybody,

Is it possible to imitate a ListAppend action with javascript?
The objective is to add an option to a select widget in run-time using javascript without having to reload the page again.
Hi,

This is possible but it’s not very advisable.
To keep eSpace easier to read it would be wiser to repost the page and create the logic in preparation.
Anyway, if that isn't really an option, you can see the attached oml with a small sample on how dynamically create options in a select widget.
Thanks for the oml. But can you do the same without using the special list and using the CustomRecordset property?
Yes you can.
I've attached a modified oml that use a custom recordlist without a special list defined.
Check the attached Ok screen action where the variable value is checked if it is nullidentifier. If it is then the special variable should be used.