How to get value from outside on HTML?What are valid values for the id attribute in HTML?How to horizontally center a <div>?Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?How to check whether a checkbox is checked in jQuery?HTML 5: Is it <br>, <br/>, or <br />?How to create an HTML button that acts like a link?How can I set the default value for an HTML <select> element?How to disable resizable property of textarea?Redirect from an HTML pageWhy does HTML think “chucknorris” is a color?

Is dd if=/dev/urandom of=/dev/mem safe?

Problem in styling a monochrome plot

Heisenberg uncertainty principle in daily life

Decreasing star size

Can two figures have the same area, perimeter, and same number of segments have different shape?

Piece-drop Mate #2

what happens if i forgot to feed my sourdough starter?

AC contactor 1 pole or 2?

Trapped in an ocean Temple in Minecraft?

TSA asking to see cell phone

Why/when is AC-DC-AC conversion superior to direct AC-Ac conversion?

What is the difference between 1/3, 1/2, and full casters?

Why did Saturn V not head straight to the moon?

Assuring luggage isn't lost with short layover

What does コテッと mean?

Can the term divorcée apply if a woman has not only divorced, but subsequently remarried?

Commercial jet accompanied by small plane near Seattle

How can I stop myself from micromanaging other PCs' actions?

Did the IBM PC use the 8088's NMI line?

Is a topological space considered to be a class in set theory?

High income, sudden windfall

Spoken encryption

Basic Questions on Wiener Filtering

Is it legal to use cash pulled from a credit card to pay the monthly payment on that credit card?



How to get value from outside on HTML?


What are valid values for the id attribute in HTML?How to horizontally center a <div>?Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?How to check whether a checkbox is checked in jQuery?HTML 5: Is it <br>, <br/>, or <br />?How to create an HTML button that acts like a link?How can I set the default value for an HTML <select> element?How to disable resizable property of textarea?Redirect from an HTML pageWhy does HTML think “chucknorris” is a color?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















I want to get value from outside for progress. But it's not working.



<form oninput="y.value=parseInt(height.value)">
Yaşınız:<input type="text" name="age"><br>
Boyunuz: <input type="range" name="height" min="150" max="230">
<output onchange="bar.value=parseInt(y.value)" name="y"></output>cm <br>
<progress name="bar" max="230"></progress>
</form>











share|improve this question
























  • How would this work? Via some kind of server framework or wishful thinking?

    – mplungjan
    Mar 26 at 17:48











  • Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

    – freefaller
    Mar 26 at 17:49











  • I want to forge a link between progress and range. For example range value = 120, progress value = 120

    – Python Team
    Mar 26 at 17:53

















-1















I want to get value from outside for progress. But it's not working.



<form oninput="y.value=parseInt(height.value)">
Yaşınız:<input type="text" name="age"><br>
Boyunuz: <input type="range" name="height" min="150" max="230">
<output onchange="bar.value=parseInt(y.value)" name="y"></output>cm <br>
<progress name="bar" max="230"></progress>
</form>











share|improve this question
























  • How would this work? Via some kind of server framework or wishful thinking?

    – mplungjan
    Mar 26 at 17:48











  • Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

    – freefaller
    Mar 26 at 17:49











  • I want to forge a link between progress and range. For example range value = 120, progress value = 120

    – Python Team
    Mar 26 at 17:53













-1












-1








-1








I want to get value from outside for progress. But it's not working.



<form oninput="y.value=parseInt(height.value)">
Yaşınız:<input type="text" name="age"><br>
Boyunuz: <input type="range" name="height" min="150" max="230">
<output onchange="bar.value=parseInt(y.value)" name="y"></output>cm <br>
<progress name="bar" max="230"></progress>
</form>











share|improve this question
















I want to get value from outside for progress. But it's not working.



<form oninput="y.value=parseInt(height.value)">
Yaşınız:<input type="text" name="age"><br>
Boyunuz: <input type="range" name="height" min="150" max="230">
<output onchange="bar.value=parseInt(y.value)" name="y"></output>cm <br>
<progress name="bar" max="230"></progress>
</form>








html






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 17:47









mplungjan

94k23 gold badges132 silver badges190 bronze badges




94k23 gold badges132 silver badges190 bronze badges










asked Mar 26 at 17:45









Python TeamPython Team

1




1












  • How would this work? Via some kind of server framework or wishful thinking?

    – mplungjan
    Mar 26 at 17:48











  • Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

    – freefaller
    Mar 26 at 17:49











  • I want to forge a link between progress and range. For example range value = 120, progress value = 120

    – Python Team
    Mar 26 at 17:53

















  • How would this work? Via some kind of server framework or wishful thinking?

    – mplungjan
    Mar 26 at 17:48











  • Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

    – freefaller
    Mar 26 at 17:49











  • I want to forge a link between progress and range. For example range value = 120, progress value = 120

    – Python Team
    Mar 26 at 17:53
















How would this work? Via some kind of server framework or wishful thinking?

– mplungjan
Mar 26 at 17:48





How would this work? Via some kind of server framework or wishful thinking?

– mplungjan
Mar 26 at 17:48













Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

– freefaller
Mar 26 at 17:49





Welcome to stackoverflow. I'm sorry, but your question is very very unclear. What do you mean by from outside??

– freefaller
Mar 26 at 17:49













I want to forge a link between progress and range. For example range value = 120, progress value = 120

– Python Team
Mar 26 at 17:53





I want to forge a link between progress and range. For example range value = 120, progress value = 120

– Python Team
Mar 26 at 17:53












1 Answer
1






active

oldest

votes


















0














Perhaps you meant this?






document.querySelector("form").addEventListener("input", function() 
var val = parseInt(this.height.value);
this.y.value = val;
document.getElementById("bar").value = val;
);
var height = document.getElementById("height").value;
document.getElementById("y").value = height
document.getElementById("bar").value = height

<form>
Yaşınız:<input type="text" name="age"><br/>
Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
<output name="y" id="y"></output>cm<br/>
<progress name="bar" id="bar" max="230"></progress>
</form>








share|improve this answer






















    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%2f55363335%2fhow-to-get-value-from-outside-on-html%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Perhaps you meant this?






    document.querySelector("form").addEventListener("input", function() 
    var val = parseInt(this.height.value);
    this.y.value = val;
    document.getElementById("bar").value = val;
    );
    var height = document.getElementById("height").value;
    document.getElementById("y").value = height
    document.getElementById("bar").value = height

    <form>
    Yaşınız:<input type="text" name="age"><br/>
    Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
    <output name="y" id="y"></output>cm<br/>
    <progress name="bar" id="bar" max="230"></progress>
    </form>








    share|improve this answer



























      0














      Perhaps you meant this?






      document.querySelector("form").addEventListener("input", function() 
      var val = parseInt(this.height.value);
      this.y.value = val;
      document.getElementById("bar").value = val;
      );
      var height = document.getElementById("height").value;
      document.getElementById("y").value = height
      document.getElementById("bar").value = height

      <form>
      Yaşınız:<input type="text" name="age"><br/>
      Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
      <output name="y" id="y"></output>cm<br/>
      <progress name="bar" id="bar" max="230"></progress>
      </form>








      share|improve this answer

























        0












        0








        0







        Perhaps you meant this?






        document.querySelector("form").addEventListener("input", function() 
        var val = parseInt(this.height.value);
        this.y.value = val;
        document.getElementById("bar").value = val;
        );
        var height = document.getElementById("height").value;
        document.getElementById("y").value = height
        document.getElementById("bar").value = height

        <form>
        Yaşınız:<input type="text" name="age"><br/>
        Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
        <output name="y" id="y"></output>cm<br/>
        <progress name="bar" id="bar" max="230"></progress>
        </form>








        share|improve this answer













        Perhaps you meant this?






        document.querySelector("form").addEventListener("input", function() 
        var val = parseInt(this.height.value);
        this.y.value = val;
        document.getElementById("bar").value = val;
        );
        var height = document.getElementById("height").value;
        document.getElementById("y").value = height
        document.getElementById("bar").value = height

        <form>
        Yaşınız:<input type="text" name="age"><br/>
        Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
        <output name="y" id="y"></output>cm<br/>
        <progress name="bar" id="bar" max="230"></progress>
        </form>








        document.querySelector("form").addEventListener("input", function() 
        var val = parseInt(this.height.value);
        this.y.value = val;
        document.getElementById("bar").value = val;
        );
        var height = document.getElementById("height").value;
        document.getElementById("y").value = height
        document.getElementById("bar").value = height

        <form>
        Yaşınız:<input type="text" name="age"><br/>
        Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
        <output name="y" id="y"></output>cm<br/>
        <progress name="bar" id="bar" max="230"></progress>
        </form>





        document.querySelector("form").addEventListener("input", function() 
        var val = parseInt(this.height.value);
        this.y.value = val;
        document.getElementById("bar").value = val;
        );
        var height = document.getElementById("height").value;
        document.getElementById("y").value = height
        document.getElementById("bar").value = height

        <form>
        Yaşınız:<input type="text" name="age"><br/>
        Boyunuz: <input type="range" name="height" id="height" min="150" max="230">
        <output name="y" id="y"></output>cm<br/>
        <progress name="bar" id="bar" max="230"></progress>
        </form>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 26 at 18:01









        mplungjanmplungjan

        94k23 gold badges132 silver badges190 bronze badges




        94k23 gold badges132 silver badges190 bronze badges


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            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%2f55363335%2fhow-to-get-value-from-outside-on-html%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

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript