Javascript Articles - Page 533 of 534

List of Best JavaScript Frameworks?

Govinda Sai
Updated on 30-Jul-2019 22:30:20

272 Views

AngularJSAngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. AngularJS is now maintained by Google.Backbone.jsBackboneJS is a lightweight JavaScript library that allows to develop and structure the client side applications that run in a web browser. It offers MVC framework which abstracts data into models, DOM into views and bind these two using events.Ember.jsEmber.js is an open source, free JavaScript client-side framework used for developing web applications. Ember.js allows building client side JavaScript applications by providing a complete solution which contains a data management and an application flow.The original ... Read More

List of Best JavaScript libraries?

Ramu Prasad
Updated on 30-Jul-2019 22:30:20

307 Views

The following are some of the best JavaScript Libraries:jQueryjQuery is a fast and concise JavaScript Library created by John Resig in 2006 with a nice motto – “Write less, do more”. jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.MooToolsMooTools is an object-oriented, lightweight JavaScript framework. The full form of MooTools is My Object-Oriented Tools. It is released under the free, open-source MIT License. It is one of most popular JavaScript libraries. MooTools is a powerful, lightweight JavaScript library. It creates an easy interaction of JavaScript in web development. It can also do many ... Read More

How JavaScript was created?

Sravani S
Updated on 02-Jan-2020 08:00:13

235 Views

NCSA’s Mosaic was the first popular browser, which released in 1993. After a year, in 1994, Netscape was founded, which came with the web browser Netscape Navigator It gained a lot of popularity in the 1990s. Many Mosaic authors worked for Navigator.Considering the need for users and market trend, Netscape realized that the Web should be more dynamic. Netscape hired Brendan Eich in 1995In 1995, Netscape hired Brendan Eich to implement Scheme in the browser. But, Netscape collaborated with Sun to include Java, in Navigator. Netscape wanted to have a scripting language with a syntax similar to Java. Brendan Eich ... Read More

What is ECMAScript and how it is related to JavaScript?

V Jyothi
Updated on 02-Jan-2020 07:59:38

504 Views

JavaScript conforms to ECMAScript standard. JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language embedded in Netscape, Internet Explorer, and other web browsers.The ECMAScript Edition 5 standard was the first update to be released in over four years. JavaScript 2.0 conforms to Edition 5 of the ECMAScript standard, and the difference between the two is extremely minor.The 8th edition, known as ECMAScript 2017, came in June 2017.The ... Read More

How to check if a string has a certain piece of text in JavaScript?

Nikitha N
Updated on 12-Sep-2019 07:21:59

218 Views

The jQuery search() method is used to check whether a string contains a certain text in JavaScript.You can try to run the following code to check whether “Tutorialspoint: Free Video Tutorials” contains the “Free Video” text in JavaScript or not:           JavaScript String search() Method                        var re = "Free Video";          var str = "Tutorialspoint: Free Video Tutorials";          if ( str.search(re) == -1 ) {             document.write("Does not contain" );          } else {             document.write("Contains" );          }          

How do I remove a particular element from an array in JavaScript

Revathi Satya Kondra
Updated on 10-Feb-2025 11:16:54

1K+ Views

In JavaScript, Removing a particular element from an array refers to the process of deleting or filtering out a particular element from the array. so that a element is no longer exists within that array. The Arrays are the most commonly used data structures in JavaScript, allowing developers to store and manipulate collections of items. Syntax Following is the syntax to remove a particular element from an array. array(index, deleteCount[, element1[, element2[, ...]]]) Parameters Here, we have three parameters to remove a particular element from an array in JavaScript − index − The index ... Read More

How to check whether a string contains a substring in JavaScript?

Abhinaya
Updated on 20-Apr-2022 12:44:47

994 Views

JavaScript provides us with different methods to check whether a string contains a substring or not. In this article, we use the following three methods for this purpose-String search() methodString indexOf() methodString includes() methodLet’s explore in detail each method.1. String search() methodThe string search method can be used to search a text (using regular expression) in a string.It matches the string against a regular expression and returns the index (position) of the first match.It returns -1 if no match is found. It’s case-sensitive.The string search() method is an ES1 feature. It is fully supported in all browsers.Syntaxstring.search(searchValue)searchValue is a regular ... Read More

How to redirect to another webpage using JavaScript?

Ramu Prasad
Updated on 20-Apr-2022 12:40:56

22K+ Views

The window.location object contains the current location or URL information. We can redirect the users to another webpage using the properties of this object. window.location can be written without the prefix window.We use the following properties of the window.location object to redirect the users to another webpage −window.location.href- it returns the URL (href) of the current page.window.location.replace()- it replaces the current document with new document.window.location.assign() loads a new document.The syntaxes below are used to redirect to another web page. We omit the window prefix and use only location in all the program examples. You can try running the programs using ... Read More

How do I remove a property from a JavaScript object?

V Jyothi
Updated on 16-Jun-2020 06:21:09

217 Views

To remove a property from a JavaScript object, use the delete keyword. You can try to run the following code to learn how to remove a propertyExampleLive Demo                          var cricketer = {             name:"Amit",             rank:1,             points: 150          };          delete cricketer.rank;          document.getElementById("demo").innerHTML =             cricketer.name + " has " + cricketer.rank + " rank.";          

How can I remove all child elements of a DOM node in JavaScript?

Arnab Chakraborty
Updated on 11-Aug-2022 10:45:43

14K+ Views

Suppose you are building a web app that manages the data of daily tasks, the user inserts the task and a list of tasks gets formed. But at some point in time, the user wants to remove all the tasks from the list and wants to make the list empty. So, as a developer, you should know how to remove all the child elements from the DOM node. To remove all the elements from the DOM node we have the following approaches. By iterating the DOM nodes and using the removeChild method. By Erasing the innerHTML value to a ... Read More

Advertisements