javascript tag

JavaScript (/ˈdʒɑːvəskrɪpt/), often abbreviated JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for web page behavior, often incorporating third-party libraries. All major web browsers have a dedicated JavaScript engine to execute the code on users' devices.

JavaScript is a high-level, often just-in-time compiled language that conforms to the ECMAScript standard. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O.

JavaScript engines were originally used only in web browsers, but are now core components of some servers and a variety of applications. Two of the most popular runtime systems for this usage are Node.js and Deno.

Although Java and JavaScript are similar in name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design.

Reference: WIKIPEDIA

1427 questions


1 answers
48 views
0
To detect when a user moves back in a web browser

I want to give you an alert when the user goes back in the web browser.How can I detect it when I go backwards?

2 years ago

1 answers
18 views
0
Why do you write 'type="text/javascript" in JavaScript?

I'm a beginner who just started studying JavaScript. You'll find out later, but I'm asking you a question here because I'm curious. I added javascript to html file and wrote the following code as belo...

2 years ago

1 answers
26 views
0
Ask how to set the ExtJs table item width.

I want to set the width of each of the items in the table and use it. I want to use columns, but I want to adjust the width only. layout: { type: 'table', columns : '3', }, items : [ { ...

2 years ago

1 answers
51 views
0
How do I check whether the element is hidden or invisible in jquery?

You can see and not see elements in jquery with a .hide(), .show(), or .toggle(). Then, how do I know if I can see the element now or not by using jquery?

2 years ago

1 answers
19 views
0
How do I copy from JavaScript to the clipboard?

What is the best way to make a clipboard copy in a multi-browser environment?function copyToClipboard(text) { if (window.clipboardData) { // Internet Explorer window.clipboardData.setData(Text, text)...

2 years ago

1 answers
91 views
0
For-each syntax in JavaScript

In Java, there's the same for syntax at the bottom. String[] myStringArray = {Hello,World};for(String s : myStringArray){ //Do something}Is this not available in JavaScript?

2 years ago

1 answers
149 views
0
How to get the current date from JavaScript

How do I get the current date from JavaScript?

2 years ago

1 answers
143 views
0
jQuery is the best way to determine if it's a mobile device

How do I check if it is a mobile device in jQuery?

2 years ago

1 answers
137 views
0
How to compare two dates in JavaScript

I'd like to compare the two dates using JavaScript. I don't know what to do.Can someone explain it to me?

2 years ago

2 answers
45 views
0
To check if an element exists in jQuery

For example, if you add an element with .append(), how do you check if this element exists?`$('elemId').I did it with length, but it doesn't work.

2 years ago
« - 98 - »

© 2024 OneMinuteCode. All rights reserved.