Click here to Skip to main content
15,880,725 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 Matthew Dennis
Create a ChatGPT-like AI module for CodeProject.AI Server that handles a long-running process.
by Akram El Assas
Microservices sample architecture using ASP.NET Core 8, Ocelot, MongoDB and JWT
by Dan Letecky
Weekly HTML5 event calendar with CSS themes, drag and drop support, date navigator. PHP and ASP.NET Core REST API backends.

All Articles

Sort by Score

Javascript 

27 Oct 2013 by Murali Pamidi
Politics aside, here are 7 simple tweaks that could make heathcare.gov website instantly fast.
21 Jul 2014 by Cristian Moldovan
jQuery unobtrusive validation plugin with Twitter Bootstrap 3 showing error messages as tooltips
28 Jul 2014 by lusgon
Uploading a file using WCF REST API and JavaScript
19 Jan 2022 by Scott Ward
Using extension methods to make working with JavaScript in .NET Blazor easier to work with
15 Jul 2017 by dsuryd
SignalR is great for building real-time web functionality. MVVM is great for developing your front-end. What if they can be used together? This tip will show how to do just that, using as example a simple project to do live chart on a web browser.
23 Feb 2010 by C. Groß
The WebBrowser.Document.InvokeScript() method claims to provide a way to interact with JavaScript code inside of a WebBrowser HTML document. Trying to mess around with a third-party JavaScript over which I had no control (meaning: included in an external webpage that I could not alter), however,...
13 Nov 2016 by veen_rp
Some templates for HTML5, CSS3 and pure JS to create .NET style panels and splitcontainers, using CSS classes for docking. Pure HTML/CSS/JS solution, JQuery not needed.
27 May 2011 by AspDotNetDev
A JavaScript function to replace string placeholders with values
4 Sep 2014 by saadixl
Super simple AngularJS web app, realtime vCard creator
29 Nov 2017 by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
19 Aug 2013 by luivis7
A simple example of how to use jQuery Autocomplete to make an AJAX call to WebAPI in an MVC4 application.
13 Aug 2014 by Dennis Baberich
A simple check list on what to look out for when developing a website
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
6 Aug 2016 by Clifford Nelson
This tip presents a way to have disabled items in your ComboBox
17 Nov 2016 by winsonet
Create and download the file with Ajax call in ASP.NET MVC
26 Jan 2017 by Richard Silveira
A discussion about code, strategy and user experience
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.
22 Oct 2014 by Kalvin Lawrence Ernst
Generate a web app instantly, directly from a database(SQL Server)
11 Nov 2014 by Sibeesh KV
Using Intro JS (Integration to Code Project FAQ)
26 Feb 2015 by Shridhar Gowda
This tip will explain how to sort a table / GridView on an ASP.NET or MVC(AngularJs) application. I am demonstrating both client side and server side sorting. I am sure you will have a great knowledge on this topic after reading it.
24 Aug 2015 by Abhishek Kumar Goswami
This library provides a very easy way to manipulate dates and times.
27 Dec 2011 by Nigam Patel
Here is a really simple code for a numeric text box and it will work in all browsers. Only works for web applications. function CheckNumeric(e) { if (window.event) //...
3 Jan 2012 by thatraja
Check this jQuery alternativejqlog - A logging framework plugin for jQuery[^]
22 Jul 2013 by Paw Jershauge
Want your own movie database??? Download IMDB in 20 minutes.
13 Oct 2017 by veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
13 Jul 2012 by Manas Bhardwaj
How to access the variables/properties from C# in JavaScript?
5 May 2013 by Style-7
How to send data from HTML form to server safely
28 May 2014 by DiponRoy
This is a simple inheritance example in JavaScript
29 Mar 2015 by FrostedSyntax
Extends the jQuery object, adding a function to center the selected element to the window
18 Nov 2015 by Kadir A. Fuzaylov
What is Mobile First and what are its advantages. Implementing the approach and results stats.
21 Jan 2016 by Kamlesh Ganar
This tip will show how to design Treeview in HTML using CSS and JQuery in a simple way.
7 Oct 2016 by Yury Dymov
Using Google CDN might break your site in China
10 Mar 2017 by Sujeet Bhujbal
 In this article, I will tell you how to create a cross-browser session expiration popup box using jQuery easily
29 Mar 2023 by V. Subhash
Use policies.json file to force Firefox to respect your preferences.
8 Dec 2009 by Mehul M Thakkar
function serialize(obj) { var returnVal; if(obj != undefined){ switch(obj.constructor) { case Array: var vArr="["; for(var i=0;i0) vArr += ","; vArr += serialize(obj[i]); } vArr += "]" return vArr; case...
16 Mar 2012 by UberGeoff
This tip explains how to display a jQuery modal pop-up message using server side events.
27 Apr 2012 by Agon Avdimetaj
the HTML5 Canvas can be used as a background in websites modified as needed to design.
4 Apr 2013 by Sebastiaan Meijerink
Object constructor with another object instead of named variables.
10 Apr 2013 by dimaxweb
Smart infinite scroll - easy to use plugin for you web application.
10 Dec 2013 by Amir Hamza Md. Kayes
Web modal window using IFrame.
3 Nov 2013 by Kyle A.B.
Learn how to play Audio in an Android app from an HTML5 page in the Apps Assets folder.
5 Nov 2013 by VICK
This simple Tip/Trick is focused on providing a simple and cross browser compatible solutio.
24 Dec 2013 by Sitang Ruan
How to display a spinner with disabled background when doing postback or Ajax call
17 Jun 2014 by Terrence Sheflin
I’ve had to build several enterprise size applications over the years, and one of the biggest mistakes I ever made was to re-use the business objects as my data contracts.
21 Nov 2014 by ManojKumar19
Learn how to configure dynamic compression in IIS 7.5 to improve performance
12 Oct 2016 by SrikantSahu
Jquery Datatable already provides individual column filters. However, we can leverage that to create our custom filter that works similar to Excel filter.
18 Nov 2016 by NguDeveloper
Angular2 + Webpack web application using VS Code step by step
27 Feb 2017 by yuvalsol
Use marquee tag to expose table's cell overflowing text
27 Dec 2018 by Alessio Aronica
Generate forms from MVC models in one simple line of code
30 Jul 2010 by mahakgupta
Simple JavaScript Captcha Code
22 Nov 2010 by Morten Nilsen
From what I understand of best practices in the JS world, one should not use the new keyword very often.For this example, I would suggest this as an alternate approach:Create a new script file arithmetic.jsvar Arithmetic = function(){ var obj = { add: function(a,b) { return a +...
27 Jun 2012 by Technoses
The above code will slow down the browser and the browser can hang when Rows in Grid will be 10000 or above.Please view the below suggestion:CS Codeprotected void grvGroups_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { ...
4 Jul 2013 by sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
3 Mar 2014 by Gregory Gadow
Does your website need JavaScript to look its best? You can warn users with a very simple JS/CSS trick.
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.
13 Jul 2014 by DiponRoy
Knockout Validation Error Message & Bootstrap v3.2 input-group
9 Jan 2015 by Er. Puneet Goel
This tip implements the TreeView like DropDownList with Search Functionality using Telerik Kendo.
4 Feb 2015 by Md. Shariful Islam (Adil)
Alignment and sorting icon in WebGrid header
2 Apr 2015 by George MVC Study
A simple jQuery slideshow
3 Apr 2015 by Muhammad Hassan Tariq
AngularJS directive for valid email tokenizer
11 Nov 2015 by Odd Marthon
A versatile visualization web browser application using standard web technologies.
23 Nov 2015 by Shine K Velayudhan
Executing JavaScript eval function from C#
10 Dec 2015 by Gerd Wagner
Don't confuse a DOM collection with a JS array: Array functions, such as the forEach looping method, cannot be applied to a DOM collection!
9 Aug 2022 by Evoluteur
SVG icon set for CRUD applications packaged as a React component with light & dark themes and tooltip.
15 Mar 2021 by Pablo A Martinez
How to use Google map and Spatial search to do freehand drawing
26 Oct 2010 by Ludmal de silva
This is a Gmail style user message control I have written and its part of the XWT Toolkit.
20 Mar 2011 by TheyCallMeMrJames
A fun script to make yourself sick over how much money your government is spending
12 Aug 2011 by yiangos
How to use javascript bitwise operations to filter out search results based on user selected filters in checkboxes
18 Feb 2012 by GregEllis
You can do it with some XORs:int a = 25, b = 7;a = a ^ b;b = b ^ a;a = a ^ b;Or the same thing with some shorthand to make the code even harder to read:a ^= b;b ^= a;a ^= b;
6 Mar 2013 by Daniel Killyevo
Some notes on how to quickly create a vertical menu with the help of jQueryUI
17 Dec 2012 by AshishChaudha
This article discusses a simple way of rearranging the ASP.NET ListView Items using JavaScript.
17 Jul 2013 by Mehul M Thakkar
Compare Validator is not working with latest jQuery lib while using with ViewModel in MVC
18 Sep 2012 by Evren Yortuçboylu
A checkbox list jQuery UI widget with real time filtering functionality explained
18 Feb 2014 by netfed
This article explains how to display images and videos in the very same Fancybox gallery using Json-data and existing html-tags as data
18 Feb 2014 by Nikola Radosavljevic
View Manipulation in AngularJS Applications
2 Jun 2014 by Sameera Millavithanachchi
This is a jQuery plugin which can be used to evaluate lambda expressions
9 May 2014 by Purbasha Ghosh
Portfolio filtering/grouping
18 Jul 2014 by John-ph
A simple JavaScript program "Random Number Guessing Game" using knockoutjs
22 Jul 2014 by Chintankumar Panchasara
The below tip will help developers retrieving user id by account name using SharePoint REST APIs.
26 Nov 2014 by Evgeny A. Koryakin
Use Bem.JS library to create CSS classes according to the BEM methodology and add, remove, modify CSS classes of DOM elements or select DOM elements by BEM-like CSS classes
12 Jan 2015 by Balakrishnan Dhinakaran
Add email from Microsoft Outlook to SharePoint list using simple macro, JavaScript
4 Feb 2015 by Richard Roe
Example to show how to update an ASP.NET GridView control using Ajax JQuery client side script
10 Sep 2015 by toplan
Simple vim for textarea and input
20 Sep 2015 by B. Clay Shannon
A super-terse reference to tools needed to create Isomorphic JavaScript web apps
9 Oct 2015 by Pavel Durov
This tip briefly shows how to change your user agent or any other data in window.navigator object.
7 Nov 2015 by mnguyen88
This is an alternative for "Using the jQuery unobtrusive validator with Twitter Bootstrap tooltips"
22 Dec 2015 by Member 4206974
A JavaScript for generate gallery with some transition effects.
24 Jan 2016 by lakhdarr
Control and directives for address form auto completion using Google map V3 and JQuery/AngularJS
8 Jul 2018 by Alen Toma
How to implement ObjectStatus with EntityWorker.Core and JavaScript
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.)
28 Jun 2018 by Biswal Tanmaya
Node.js async await vs promise vs callback
13 Oct 2018 by Stefan Vincent Haug
Helper method to apply sorting from DataTables.js parameters in C#
26 Jul 2019 by Marijan Nikic
HTML line numbering using textarea
23 Aug 2022 by Francois D Viljoen
Re-thinking the way we develop web content by moving everything into JavaScript
16 Feb 2015 by DrABELL
Essentially the same code snippet with just a little bit cleaner and more efficient code1. setTimeout() is replaced with setInterval() function2. The interval is correctly set to 333 msec to produce 3 updates per second as specifiedRelated application (as FYI): Inflation...