Filling in HTML select tag from C++ addon function call2019 Community Moderator ElectionTrigger a button click with JavaScript on the Enter key in a text boxWhat is the best way to add options to a select from as a JS object with jQuery?How to store arbitrary data for some HTML tagsWhere should I put <script> tags in HTML markup?Get selected text from a drop-down list (select box) using jQueryHow to decide when to use Node.js?In Node.js, how do I “include” functions from my other files?How to dynamically change header based on AngularJS partial view?How do I return the response from an asynchronous call?Understanding unique keys for array children in React.js

What is Tony Stark injecting into himself in Iron Man 3?

Finding the minimum value of a function without using Calculus

What do you call someone who likes to pick fights?

How to copy the rest of lines of a file to another file

How can a demon take control of a human body during REM sleep?

Translation of 答えを知っている人はいませんでした

What is the "determinant" of two vectors?

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

Why aren't there more Gauls like Obelix?

PTIJ: Who was the sixth set of priestly clothes for?

Is it possible to clone a polymorphic object without manually adding overridden clone method into each derived class in C++?

Factor Rings over Finite Fields

Difference between `nmap local-IP-address` and `nmap localhost`

Having the player face themselves after the mid-game

Locked Away- What am I?

Computation logic of Partway in TikZ

What will happen if my luggage gets delayed?

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

What does the Digital Threat scope actually do?

Rationale to prefer local variables over instance variables?

School performs periodic password audits. Is my password compromised?

Is it appropriate to ask a former professor to order a book for me through an inter-library loan?

Do Paladin Auras of Differing Oaths Stack?

What is the purpose of a disclaimer like "this is not legal advice"?



Filling in HTML select tag from C++ addon function call



2019 Community Moderator ElectionTrigger a button click with JavaScript on the Enter key in a text boxWhat is the best way to add options to a select from as a JS object with jQuery?How to store arbitrary data for some HTML tagsWhere should I put <script> tags in HTML markup?Get selected text from a drop-down list (select box) using jQueryHow to decide when to use Node.js?In Node.js, how do I “include” functions from my other files?How to dynamically change header based on AngularJS partial view?How do I return the response from an asynchronous call?Understanding unique keys for array children in React.js










0















I'm just not sure how to approach this. I have a blank select tag in my HTML with JS handling click events. I then have a addon built that builds some objects from other sources each containing an unique identifying string.



How would I go about filling in the select tag from the data in the addon?



I can't find a way to fill it in the C++ addon, but I also can't think of a clean way to have the Javascript call a single function to fill it in completely.










share|improve this question
























  • there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

    – bmacnaughton
    2 days ago











  • Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

    – Yang Lu
    2 days ago











  • Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

    – bmacnaughton
    2 days ago















0















I'm just not sure how to approach this. I have a blank select tag in my HTML with JS handling click events. I then have a addon built that builds some objects from other sources each containing an unique identifying string.



How would I go about filling in the select tag from the data in the addon?



I can't find a way to fill it in the C++ addon, but I also can't think of a clean way to have the Javascript call a single function to fill it in completely.










share|improve this question
























  • there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

    – bmacnaughton
    2 days ago











  • Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

    – Yang Lu
    2 days ago











  • Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

    – bmacnaughton
    2 days ago













0












0








0








I'm just not sure how to approach this. I have a blank select tag in my HTML with JS handling click events. I then have a addon built that builds some objects from other sources each containing an unique identifying string.



How would I go about filling in the select tag from the data in the addon?



I can't find a way to fill it in the C++ addon, but I also can't think of a clean way to have the Javascript call a single function to fill it in completely.










share|improve this question
















I'm just not sure how to approach this. I have a blank select tag in my HTML with JS handling click events. I then have a addon built that builds some objects from other sources each containing an unique identifying string.



How would I go about filling in the select tag from the data in the addon?



I can't find a way to fill it in the C++ addon, but I also can't think of a clean way to have the Javascript call a single function to fill it in completely.







javascript node.js node.js-addon node-addon-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 6 at 23:08







Yang Lu

















asked Mar 6 at 23:01









Yang LuYang Lu

12




12












  • there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

    – bmacnaughton
    2 days ago











  • Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

    – Yang Lu
    2 days ago











  • Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

    – bmacnaughton
    2 days ago

















  • there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

    – bmacnaughton
    2 days ago











  • Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

    – Yang Lu
    2 days ago











  • Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

    – bmacnaughton
    2 days ago
















there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

– bmacnaughton
2 days ago





there is not enough information here to understand the problem. it's not at all clear that there is any need for a C++ addon to fill in portions of HTML, try providing some background and maybe some code too.

– bmacnaughton
2 days ago













Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

– Yang Lu
2 days ago





Can't provide any code because I'm not even sure of how to approach this. I need the addon to fill it in because the addon accesses system resources (addon is for an Electron app) to fill in the selection at runtime.

– Yang Lu
2 days ago













Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

– bmacnaughton
2 days ago





Is there an HTML template that must be filled in? What must be filled in? Why is it not possible for the addon to return the system resources-derived information and let JavaScript fill in the tags? You don't provide an example of anything that allows anyone to formulate an answer.

– bmacnaughton
2 days ago












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033575%2ffilling-in-html-select-tag-from-c-addon-function-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033575%2ffilling-in-html-select-tag-from-c-addon-function-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme