Click here to Skip to main content
15,889,462 members
Everything / Programming Languages / Javascript

Javascript

Javascript

Great Reads

by Colin Eberhardt
This article describes the development of a cross-platform HTML5 application for Windows Phone and iPhone.
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by Marcelo Ricardo de Oliveira
A shoot'n'up HTML5 game made with Phaser game framework
by Serge Desmedt
A try it yourself guide to the basic math behind perceptrons

Latest Articles

by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
by Member 4206974
FormGen, a JavaScript Form Generator
by Jeremy Falcon
Just a simple routine and helper routine to generate unique IDs suitable for disconnected systems.
by Matthew Dennis
Create a ChatGPT-like AI module for CodeProject.AI Server that handles a long-running process.

All Articles

Sort by Updated

Javascript 

15 Jun 2012 by #realJSOP
One way to get around the "invalid character" error
17 Jun 2019 by @Aradhana_Singh
I know how much I struggled when first working with Angular2+ on the hybris platform, so this is for those with the same challenge.
7 Oct 2014 by _debasis
Introduction There is always a confusion in .call() and .apply(). Where to use when? Why we need to call a function using .call() and .apply(),  even if, we can directly call that function ? For Instance :someFunction.call() and someFunc.apply() But we can directly call the function by someFunction(
25 Nov 2014 by _exebook
A syntax sugaring module that will silently convert sync-style dot preceded calls into an async ladder.
2 Aug 2022 by Aaron_Smith
Using the Microsoft Bing map API to add an overlay to a Microsoft Bing map
17 Aug 2012 by Abey Thomas
This is an issue which can happen for a variety of reasons - but how do you find the right one?
2 Sep 2009 by Abhijit Jana
Some times we need to detect the Browser Close to perform some operation before quiting from application. Here is a simple way.function CheckBrowser(){ // Check Browser Close [X] , Alt+F4 , File -> Close if(window.event.clientX
16 Dec 2014 by abhijit jha
This tip is for web developers who want to learn how to get started with editing source of Brackets
23 Apr 2012 by abhinav_soni
Renders JavaScript and CSS from server based on the user's system.
19 Jul 2012 by abhinav_soni
Code to open XML document in iFrame in Chrome.
25 Aug 2014 by Abhishek Jaiswall
Creating Bar Chart from D3JS using CSV Data
24 Aug 2015 by Abhishek Kumar Goswami
This library provides a very easy way to manipulate dates and times.
16 Apr 2015 by Abhishek Maitrey
Learning AngularJs : Episode 1 of 15
20 Apr 2015 by Abhishek Maitrey
Easy Learning of AngularJs : Episode 2 of 15
13 Sep 2009 by Abhishek Sur
It is a very common issue to handle automatic postbacks to controls. Here I am going to explain how we can handle autopostback of a button click using Javascript Event. Suppose you have a button : Now you want to occationally c
22 Sep 2009 by Abhishek Sur
Sometimes we have requirement to disable Right Click context menu and Text selection of a web page from the user, so that the user cannot use the right click default context menu and also to disable text selection so that sensitive data could not be copied from the website. To Disable Context Menudo
13 Dec 2014 by Adel Refaat
VoiceOver will read hidden elements inside a parent with aria-hidden="false"
6 Sep 2011 by AditSheth
You can pass object as parameter to generalize function function showContent(e,object) { var recentChar...
4 Sep 2011 by AditSheth
Restrict value for repeating character on keypress event
23 Oct 2019 by aditya pewekar
This tip gives a brief of how to export a HTML table with input tags into Excel file using JavaScript.
31 Aug 2016 by adityave22
This article explains how to write JavaScript code in Atlassian Jira to call external REST APIs and load json data into Jira custom fields
14 Aug 2013 by adriancs
A program/application for learning and writing HTML. Get instant visual effect side by side with your code as you type. Support HTML5, Javascript and CSS3 elements.
16 Jul 2012 by Afshin Mehrabani
This post discusses some simple and useful JavaScript Regular Expressions
1 Dec 2015 by Aftab Ahmed Sajid
Preventing browsers from saving Admin user passwords, intentionally or unintentionally while using STRUTS forms
14 Sep 2014 by Afzaal Ahmad Zeeshan
How to use the keyboard events of the user and use them to dynamically change the User Interface or to perform some actions
27 Jan 2020 by Agarawal.ankur
How to get a list of all suspended/terminated workflows using JavaScript - SharePoint online
27 Apr 2012 by Agon Avdimetaj
the HTML5 Canvas can be used as a background in websites modified as needed to design.
3 Jan 2013 by Agrawal Ashok
Checkboxes working like radio buttons.
17 Dec 2012 by Ahmad Dekmak
Asp.net implementation for the resumable.js
16 May 2014 by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
31 Dec 2018 by Ahmad F Hassan
Using SPLoader.js to create UI components that read its content from Lists and Libraries in minutes using only HTML
16 Nov 2016 by Ahmed Bouchefra
In this post, we are going to learn how to use $ionicLoading service with Ionic 1 to give some visual feedback to your app users when some background task is taking place.
23 Mar 2016 by Ahmet AYDIN
This post describes step by step how to run a Single Page Application template using ASP.NET Web API 2 and angularJS and how to use Web Application Project whose name is Dalyan.
30 May 2012 by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
11 Jun 2017 by AivanF
Read how to add a dynamic table on Google map for your webpage
22 Sep 2014 by Ajith K Gatty
This tip helps you to reset all your DropDownList values to the default one when a DropDownList changes its selection.
29 Apr 2015 by AjithKp560_
FTP Client for Web server.
10 May 2013 by AkramOnly
Get root relative WebSite path to concatenate it with any HTML src path
26 Mar 2014 by Akshya Dash
Ths jquery plugin helps to store the values that are being changed in the DOM input elements of a webpage for future reference and restoration.
18 Apr 2011 by Albin Abel
Just a simple note with sys.StringBuilder which is just beginner level
5 Aug 2010 by Alejandro Barrada
How to pass custom args to the OnSuccess callback function of javascript ajax
8 Jul 2018 by Alen Toma
How to implement ObjectStatus with EntityWorker.Core and JavaScript
12 Sep 2021 by Alen Toma
ObjectuseState - the behavior of React.UseState applies to object properties
10 Aug 2022 by Alen Toma
This library is built so that you could secure JSON or string data in JS files. The library will shuffle the data in memory and make it unreadable for the naked eye.
27 Dec 2018 by Alessio Aronica
Generate forms from MVC models in one simple line of code
30 Aug 2011 by Alexander Kouznetsov
A way to view, store and process logical expressions
22 Aug 2014 by Alexander Parra Lorenzo
example to request a JSON data
14 Jun 2011 by AlexCode
.NET Framework actually has this functionality built-in.The object is this one: system.web.script.serialization.javascriptserializer.aspx[^]I use this a lot and it works as expected.Here's 2 examples:1. Dumb deserializationHere's the easyest way, where you get what you...
4 Oct 2012 by AlexCode
Simple way to prevent users from changing the active panel on the jQuery UI Accordion control
22 Aug 2015 by Alfeu Lucas Guedes
How to handle Android physical back button events with Chocolatechip-UI and Cordova.
9 May 2012 by Ali Al Omairi(Abu AlHassan)
Overwriting the __doPostBack() function to target the post-back form according to eventTarget
3 May 2012 by Almar Mike
The basics of organizing code with OOP in JS
2 May 2012 by Almar Mike
The basics of OOP in JS.
28 Mar 2013 by Alok Gupta From Bangalore
This article is targeted to people who are involved in designing of web based applications and want to give rich look and feel of web based application in all browsers using CSS3.
26 Apr 2014 by altaf008bd
This tip will describe a simple way to resolve "too much recursion" error when working with multiple modal dialogs
5 Jan 2013 by Alvin George
A whiteboard you can instantly share with others and all can start drawing and watching together in real-time
18 Feb 2015 by AMB-03
This is a very simple way to create a balloon message... without using any plugin
10 Dec 2013 by Amir Hamza Md. Kayes
Web modal window using IFrame.
6 Nov 2015 by AMITAVA KARAN
This tip is about how to enable default routing in backbone.js.
26 Nov 2011 by amitthk
Post the page forms using Ajax intead of Normal Post (Like when using MVC)
26 Nov 2011 by amitthk
For ASP.NET MVC, HERE! is a much cooler approach:Basically, we use Ajax.ActionLink like this:The controller takes care of both the possibilities (Normal Post...
10 Jun 2014 by Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
15 Sep 2011 by Anas Karkoukli
I would much rather taking advantage of the tools Visual Studio provides. If you have a continuous building in place, then you might as well use MSBUILD itself from the command line with a Custom MSBUILD TASK. For more infrmation and background on the concept, please refer to this...
13 Jun 2013 by Anas Karkoukli
A small tip for debugging WinRT component calls from WinJS applications
26 Oct 2015 by Andy Feng
This article introduces multiple approaches to implement a Javascript maxlength check in browsers
8 Mar 2015 by Anele 'Mashy' Mbanga
Create a SplitView / Master Details screen in JQuery Mobile
10 Jul 2012 by anirudha-kulkarni01
Report Viewer print issue in Chrome / Mozilla / Safari: A solution where you can print report contents inside Report Viewer in any browser.
28 Mar 2010 by anjali.l2003
Put a div around the textbox and write handler in the div's onclick. function txt1OnClick(){ alert('Hello...
9 Jan 2015 by AnkitkJain
ExtJs-JavaScript framework for beginners
6 Mar 2015 by Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
20 Oct 2014 by Ankur Rawat
Alternative way to refresh the page using JavaScript and not using meta tag of HTML to refresh the page
27 Feb 2017 by Ankur Rawat
Detect whether the event is click event or drag event of pushpin, performed by user in Bing Map
9 Mar 2012 by ankushpawar
Priority Scenario
8 Aug 2013 by Anoop Kr Sharma
How to use download attribute (HTML5 feature)
4 Aug 2013 by Anoop Kr Sharma
Creating a simple, stylish calculator using HTML, CSS and JavaScript
10 May 2014 by Anoop Kr Sharma
Creating Charts using Chart.js JavaScript library
14 May 2014 by Anoop Kr Sharma
In this trick we are going to see image magnifying effect as seen on many e-commerce websites
24 Mar 2014 by Anoop_Ravindran
Here is a small tip to perform a client-side paging without any scripting language
22 Aug 2013 by Anshu Krishna
A JavaScript function for showing image on a webpage with a stylish animation.
28 Jun 2016 by Anshu Krishna
Creating parent/child relations between checkboxes
23 Jun 2018 by Anshu Krishna
This tip is a simple example to illustrate how the HTML5 CustomElements can be used to create a custom date tag which has the ability to show relative date (like '5 days ago', 'Next month', '5 years ago', etc.)
2 Oct 2011 by Anshul R
Prefix, Length, and Check Digit CriteriaHere is a table outlining the major credit cards that you might want to validate.CARD TYPE Prefix Length Check digit algorithmMASTERCARD 51-55 16 mod 10VISA 4 13, 16 mod 10AMEX 3437 15 mod 10Diners Club/Carte...
11 Mar 2013 by Anshul R
Increase text box length as you type
23 Feb 2015 by Anshul Shukla
Reason behind why sometimes JavaScript developers are considered as God.
29 Jul 2013 by Antariksh Verma
This is an implementation of a loading image using jQuery in MVC.
28 Feb 2011 by AntounPG
Javascript Operators === & !==
26 Jun 2010 by Anuj Khadloya
This article provides a solution to the age-long question of "How do I execute some server side code when my browser is closed?". The answer to this question is AJAX.
29 Nov 2015 by anujk0292
Create AngularJS 1.x web application using Microsoft Typescript
20 Oct 2011 by Anup Das Gupta (asteranup)
jQuery tooltip with Ajax tooltip datasource with gridview
20 May 2012 by Anup Kumar Verma
Printer independent Watermark on webpage print in asp.net & C#
4 Jan 2016 by Anupam Singh
How to implement Modular Design pattern and OOP in JavaScript
16 Sep 2014 by Arkadeep De
Bind an image slider without database in ASP.NET
28 Aug 2015 by Arora Sumit
Defining Compile ,Pre & Post in AngularJS
18 Jan 2014 by Artem Los
This tip explains the way you can protect the source code of an HTML page.
21 Jul 2010 by arunpthampi
Case may come when your client demand PASSWORD HERE to be displayed in readable format in your textbox for password