JavaScript function - Search
About 18,300,000 results
Open links in new tab
    Kizdar net | Kizdar net | Кыздар Нет
  1. javascript - When should I use ?? (nullish coalescing) vs || (logical ...

    Related to Is there a "null coalescing" operator in JavaScript? - JavaScript now has a ?? operator which I see in use more frequently. Previously most JavaScript code used ||. let userAge =

  2. JavaScript hide/show element - Stack Overflow

    Learn how to use JavaScript to hide or show elements on a webpage effectively.

  3. javascript - Wait 5 seconds before executing next line - Stack …

    This function below doesn’t work like I want it to; being a JS novice I can’t figure out why. I need it to wait 5 seconds before checking whether the newState is -1. Currently, it doesn’t wait, i...

  4. What does "javascript:void (0)" mean? - Stack Overflow

    Aug 18, 2009 · Usage of javascript:void(0) means that the author of the HTML is misusing the anchor element in place of the button element. Anchor tags are often abused with the onclick …

  5. How can I convert a string to boolean in JavaScript?

    Nov 5, 2008 · Can I convert a string representing a boolean value (e.g., 'true', 'false') into an intrinsic type in JavaScript? I have a hidden form in HTML that is updated based on a user's …

  6. javascript - How do I create a GUID / UUID? - Stack Overflow

    May 7, 2019 · How do I create GUIDs (globally-unique identifiers) in JavaScript? The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble …

  7. JavaScript error: "is not a function" - Stack Overflow

    For example, JavaScript objects have no map function, but JavaScript Array object do. Basically the object (all functions in js are also objects) does not exist where you think it does.

  8. javascript - How does the 'Access-Control-Allow-Origin' header …

    Access-Control-Allow-Origin is a CORS (cross-origin resource sharing) header. When Site A tries to fetch content from Site B, Site B can send an Access-Control-Allow-Origin response header …

  9. javascript - How to fix 'TypeError: Failed to fetch'? - Stack Overflow

    Jul 4, 2019 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and …

  10. How can I submit a form using JavaScript? - Stack Overflow

    1. Technically, I think you could just do <button type="submit" onClick="this.form.submit()">Place Order</button> and save a function call. 2. @KenJiiii I would have to look it up, but my guess …