Category: Javascript

  • Connect To An API Using JQUERY

    Connect To An API Using JQUERY

    Connect To An API Using JQUERY The Below Code Snippet , shows how to connect to An API Using jQuery In this Example Code , i will Connect to  Data.gov.sg to draw average House Hold Income Data  Segregated by Type of Property dwelling   Results    

  • Document Query Selector JavaScript

    Document Query Selector JavaScript

    Document Query Selector JavaScript     In This Article I will show you How to use  document.querySelector In this Javascript Sample Code i will Create 1 function When the Button is Click This function will replace the existing text and add a new CSS Class . Add Class and Modify Content This is the Original Text…

  • Modify Object Literal Properties In JavaScript

    Modify Object Literal Properties In JavaScript

    Modify Object Literal Properties In JavaScript   This Article is a continue of the previous Blog here In this Article i will show you how to create a function to change the Object Literal Properties In JavaScript In this Javascript Sample Code i will Create 2 function modiObj(modiName) -> This  will loop through the array to…

  • Create a new object on click JavaScript

    Create a new object on click JavaScript

    Create a new object on click JavaScript Create a new Object on Click Javascript . In this Article i will show you how to create a new Object by clicking a Button. After that i will  push the newly created Object into an Array. Finally i will demonstrate  how to delete the Object from the…

  • Check If Input Is Number JavaScript

    Check If Input Is Number JavaScript

    Check If Input Is Number JavaScript In this Article i will show you how  to  write the code to check whether the User Input is Number in JavaScript To Write this Code i will use only one  JavaScript Function document.getElementById().innerHTML . To Create This Sample, i will need  few things Setup in HTML A text…