Skip to content

"EmbAJAXOptionSelect<3>" dynamic list possible ?  #37

Open
@siegmar

Description

@siegmar

Sorry to bother you again.

const char* radio_opts[] = {"option1", "option2", "option3"};

EmbAJAXOptionSelect<3> optionselect("optionselect", radio_opts);
EmbAJAXMutableSpan optionselect_d("optionselect_d");

I would like to be able to use EmbAJAXOptionSelect to output my SSID list, which I got from a WiFi.scanNetworks(); and select the appropriate entry.
Of course I can solve this by generating a JavaSript dynamically and then outputting it with EmbAJAXScriptedSpan.
But maybe there is a more elegant way with your lib.
Thanks in advance
With best regards
Siegmar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions