tagged [javascript]

How to find the operating system details using JavaScript?

How to find the operating system details using JavaScript? How can I find the OS name and OS version using JavaScript?

Javascript wait() function

Javascript wait() function I want to create a JavaScript `wait()` function. What should I edit?

16 Oct at 09:3

Embed HTML5 YouTube video without iframe?

Embed HTML5 YouTube video without iframe? Is it possible to embed an html5 version of a youtube video without using an iframe?

25 Mar at 17:26

How to set a value to a file input in HTML?

How to set a value to a file input in HTML? How can I set the value of this?

18 Jun at 04:21

How to Use Sockets in JavaScript\HTML?

How to Use Sockets in JavaScript\HTML? How to Use Sockets in JavaScript\HTML? May be using some cool HTML5? Libraries? Tutorials? Blog Articles?

18 Mar at 01:7

How to reset all checkboxes using jQuery or pure JS?

How to reset all checkboxes using jQuery or pure JS? How can I reset all checkboxes in a document using jQuery or pure JS?

7 Nov at 15:6

How can I get an element's ID value with JavaScript?

How can I get an element's ID value with JavaScript? Is there another way to get an DOM element's ID?

9 Nov at 17:55

How to convert from Hex to ASCII in JavaScript?

How to convert from Hex to ASCII in JavaScript? How to convert from `Hex` string to `ASCII` string in JavaScript? Ex: > 32343630 it will be 2460

12 Feb at 13:12

How to reset (clear) form through JavaScript?

How to reset (clear) form through JavaScript? I have tried `$("#client.frm").reset();` but it is not working.So how to reset form via jQuery?

16 Jan at 11:58

How to get element by innerText

How to get element by innerText How to get tag in html page, if I know what text tag contains. E.g.:

28 Jun at 14:27

What is console.log?

What is console.log? What is the use of `console.log`? Please explain how to use it in JavaScript, with a code example.

23 Jul at 15:55

What is event bubbling and capturing?

What is event bubbling and capturing? What is the difference between event bubbling and capturing? When should one use bubbling vs capturing?

21 Aug at 21:48

Detect iPad users using jQuery?

Detect iPad users using jQuery? Is there a way to detect if the current user is using an iPad using jQuery/JavaScript?

How do I create and read a value from cookie with javascript?

How do I create and read a value from cookie with javascript? How can I create and read a value from a cookie in JavaScript?

7 Jul at 04:49

Get the Highlighted/Selected text

Get the Highlighted/Selected text Is it possible to get the highlighted text in a paragraph of a website e.g. by using jQuery?

23 Oct at 09:46

Where does npm install packages?

Where does npm install packages? Can someone tell me where can I find the Node.js modules, which I installed using `npm`?

12 Dec at 19:49

Finding longest string in array

Finding longest string in array Is there a short way to find the longest string in a string array? Something like `arr.Max(x => x.Length);`?

29 Jun at 13:23

How to calculate date difference in JavaScript?

How to calculate date difference in JavaScript? I want to calculate date difference in days, hours, minutes, seconds, milliseconds, nanoseconds. How can I do it?

17 Aug at 18:44

Set a cookie to HttpOnly via Javascript

Set a cookie to HttpOnly via Javascript I have a cookie that is NOT `HttpOnly` Can I set this cookie to `HttpOnly` via JavaScript?

22 Oct at 15:32

How to disable and then enable onclick event on <div> with javascript

How to disable and then enable onclick event on with javascript Following is the code which i am trying

24 Sep at 13:22

Javascript format date / time

Javascript format date / time I need to change a date/time from to look like Can this be done using javascript's Date object?

12 Aug at 23:23

Javascript drawing library?

Javascript drawing library? Any suggestion for a JavaScript interactive drawing library? Just need to draw lines, polygons, texts of different colors. IE/Firefox/Opera/Safari compatible. ­­­­­­­­­­­­­...

8 Jul at 16:30

How to prevent ENTER keypress to submit a web form?

How to prevent ENTER keypress to submit a web form? How do you prevent an key press from submitting a form in a web-based application?

19 Dec at 13:51

Convert special characters to HTML in JavaScript

Convert special characters to HTML in JavaScript How can I convert special characters to HTML in JavaScript? Example: - `&``&amp`- `"``&quot``ENT_NOQUOTES`- `'``&#039``ENT_QUOTES`- ```&gt`

31 Jan at 17:4

How do I make JavaScript beep?

How do I make JavaScript beep? I want my web page to beep whenever a user exceeds the maximum character limit of my ``.

22 Oct at 17:8