Click here to Skip to main content
14,984,043 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 Ondra Spilka
Let's explain the basics so developers understand weak spots of date and time handling
by Marc Clifton
Sometimes my friends, who know nothing about computer programming, ask me to show them what code looks like and to explain it.
by Jason Sultana
Implement a “top-level” async function in Node when there is no async main method
by Oleksandr Viktor (UkrGuru)
Minimally simple UkrGuru.SqlJson package for your ASP.NET Core Web Application

All Articles

Sort by Score

Javascript 

Please Sign up or sign in to vote.
27 Oct 2013
Murali Pamidi
Politics aside, here are 7 simple tweaks that could make heathcare.gov website instantly fast.
Please Sign up or sign in to vote.
21 Jul 2014
Cristian Moldovan
1 alternative  
jQuery unobtrusive validation plugin with Twitter Bootstrap 3 showing error messages as tooltips
Please Sign up or sign in to vote.
28 Jul 2014
lusgon
Uploading a file using WCF REST API and JavaScript
Please Sign up or sign in to vote.
15 Jul 2017
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.
Please Sign up or sign in to vote.
23 Feb 2010
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,...
Please Sign up or sign in to vote.
27 May 2011
AspDotNetDev
1 alternative  
A JavaScript function to replace string placeholders with values
Please Sign up or sign in to vote.
4 Sep 2014
saadixl
Super simple AngularJS web app, realtime vCard creator
Please Sign up or sign in to vote.
13 Nov 2016
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.
Please Sign up or sign in to vote.
29 Nov 2017
Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
Please Sign up or sign in to vote.
19 Aug 2013
luivis7
A simple example of how to use jQuery Autocomplete to make an AJAX call to WebAPI in an MVC4 application.
Please Sign up or sign in to vote.
13 Aug 2014
Dennis Baberich
A simple check list on what to look out for when developing a website
Please Sign up or sign in to vote.
14 Sep 2014
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
Please Sign up or sign in to vote.
6 Aug 2016
Clifford Nelson
This tip presents a way to have disabled items in your ComboBox
Please Sign up or sign in to vote.
26 Jan 2017
Richard Silveira
A discussion about code, strategy and user experience
Please Sign up or sign in to vote.
17 Nov 2016
winsonet
Create and download the file with Ajax call in ASP.NET MVC
Please Sign up or sign in to vote.
14 Aug 2013
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.
Please Sign up or sign in to vote.
22 Oct 2014
Kalvin Lawrence Ernst
Generate a web app instantly, directly from a database(SQL Server)
Please Sign up or sign in to vote.
11 Nov 2014
Sibeesh KV
Using Intro JS (Integration to Code Project FAQ)
Please Sign up or sign in to vote.
26 Feb 2015
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.
Please Sign up or sign in to vote.
24 Aug 2015
Abhishek Kumar Goswami
This library provides a very easy way to manipulate dates and times.
Please Sign up or sign in to vote.
27 Dec 2011
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) //...
Please Sign up or sign in to vote.
3 Jan 2012
thatraja
Check this jQuery alternativejqlog - A logging framework plugin for jQuery[^]
Please Sign up or sign in to vote.
22 Jul 2013
Paw Jershauge
Want your own movie database??? Download IMDB in 20 minutes.
Please Sign up or sign in to vote.
13 Oct 2017
veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
Please Sign up or sign in to vote.
13 Jul 2012
Manas Bhardwaj
How to access the variables/properties from C# in JavaScript?
Please Sign up or sign in to vote.
5 May 2013
Style-7
How to send data from HTML form to server safely
Please Sign up or sign in to vote.
28 May 2014
DiponRoy
This is a simple inheritance example in JavaScript
Please Sign up or sign in to vote.
29 Mar 2015
FrostedSyntax
Extends the jQuery object, adding a function to center the selected element to the window
Please Sign up or sign in to vote.
18 Nov 2015
Kadir A. Fuzaylov
What is Mobile First and what are its advantages. Implementing the approach and results stats.
Please Sign up or sign in to vote.
21 Jan 2016
Kamlesh Ganar
This tip will show how to design Treeview in HTML using CSS and JQuery in a simple way.
Please Sign up or sign in to vote.
7 Oct 2016
Yury Dymov
Using Google CDN might break your site in China
Please Sign up or sign in to vote.
10 Mar 2017
Sujeet Bhujbal
 In this article, I will tell you how to create a cross-browser session expiration popup box using jQuery easily
Please Sign up or sign in to vote.
8 Dec 2009
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...
Please Sign up or sign in to vote.
16 Mar 2012
UberGeoff
This tip explains how to display a jQuery modal pop-up message using server side events.
Please Sign up or sign in to vote.
27 Apr 2012
Agon Avdimetaj
the HTML5 Canvas can be used as a background in websites modified as needed to design.
Please Sign up or sign in to vote.
4 Apr 2013
Sebastiaan Meijerink
Object constructor with another object instead of named variables.
Please Sign up or sign in to vote.
10 Apr 2013
dimaxweb
Smart infinite scroll - easy to use plugin for you web application.
Please Sign up or sign in to vote.
10 Dec 2013
Amir Hamza Md. Kayes
Web modal window using IFrame.
Please Sign up or sign in to vote.
3 Nov 2013
Kyle A.B.
Learn how to play Audio in an Android app from an HTML5 page in the Apps Assets folder.
Please Sign up or sign in to vote.
5 Nov 2013
VICK
This simple Tip/Trick is focused on providing a simple and cross browser compatible solutio.
Please Sign up or sign in to vote.
24 Dec 2013
Sitang Ruan
How to display a spinner with disabled background when doing postback or Ajax call
Please Sign up or sign in to vote.
17 Jun 2014
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.
Please Sign up or sign in to vote.
21 Nov 2014
ManojKumar19
Learn how to configure dynamic compression in IIS 7.5 to improve performance
Please Sign up or sign in to vote.
12 Oct 2016
SrikantSahu
Jquery Datatable already provides individual column filters. However, we can leverage that to create our custom filter that works similar to Excel filter.
Please Sign up or sign in to vote.
18 Nov 2016
NguDeveloper
Angular2 + Webpack web application using VS Code step by step
Please Sign up or sign in to vote.
27 Feb 2017
yuvalsol
Use marquee tag to expose table's cell overflowing text
Please Sign up or sign in to vote.
27 Dec 2018
Alessio Aronica
Generate forms from MVC models in one simple line of code
Please Sign up or sign in to vote.
30 Jul 2010
mahakgupta
Simple JavaScript Captcha Code
Please Sign up or sign in to vote.
22 Nov 2010
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 +...
Please Sign up or sign in to vote.
27 Jun 2012
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) { ...
Please Sign up or sign in to vote.
4 Jul 2013
sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
Please Sign up or sign in to vote.
3 Mar 2014
Gregory Gadow
Does your website need JavaScript to look its best? You can warn users with a very simple JS/CSS trick.
Please Sign up or sign in to vote.
10 Jun 2014
Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
Please Sign up or sign in to vote.
13 Jul 2014
DiponRoy
Knockout Validation Error Message & Bootstrap v3.2 input-group
Please Sign up or sign in to vote.
9 Jan 2015
Er. Puneet Goel
This tip implements the TreeView like DropDownList with Search Functionality using Telerik Kendo.
Please Sign up or sign in to vote.
4 Feb 2015
Md. Shariful Islam (Adil)
Alignment and sorting icon in WebGrid header
Please Sign up or sign in to vote.
2 Apr 2015
George MVC Study
A simple jQuery slideshow
Please Sign up or sign in to vote.
3 Apr 2015
Muhammad Hassan Tariq
AngularJS directive for valid email tokenizer
Please Sign up or sign in to vote.
11 Nov 2015
Odd Marthon
A versatile visualization web browser application using standard web technologies.
Please Sign up or sign in to vote.
23 Nov 2015
Shine K Velayudhan
Executing JavaScript eval function from C#
Please Sign up or sign in to vote.
10 Dec 2015
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!
Please Sign up or sign in to vote.
26 Oct 2010
Ludmal de silva
This is a Gmail style user message control I have written and its part of the XWT Toolkit.
Please Sign up or sign in to vote.
20 Mar 2011
TheyCallMeMrJames
1 alternative  
A fun script to make yourself sick over how much money your government is spending
Please Sign up or sign in to vote.
12 Aug 2011
yiangos
1 alternative  
How to use javascript bitwise operations to filter out search results based on user selected filters in checkboxes
Please Sign up or sign in to vote.
18 Feb 2012
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;
Please Sign up or sign in to vote.
6 Mar 2013
Daniel Killyevo
Some notes on how to quickly create a vertical menu with the help of jQueryUI
Please Sign up or sign in to vote.
17 Dec 2012
AshishChaudha
This article discusses a simple way of rearranging the ASP.NET ListView Items using JavaScript.
Please Sign up or sign in to vote.
17 Jul 2013
Mehul M Thakkar
Compare Validator is not working with latest jQuery lib while using with ViewModel in MVC
Please Sign up or sign in to vote.
18 Sep 2012
Evren Yortuçboylu
1 alternative  
A checkbox list jQuery UI widget with real time filtering functionality explained
Please Sign up or sign in to vote.
18 Feb 2014
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
Please Sign up or sign in to vote.
18 Feb 2014
Nikola Radosavljevic
View Manipulation in AngularJS Applications
Please Sign up or sign in to vote.
2 Jun 2014
Sameera Millavithanachchi
This is a jQuery plugin which can be used to evaluate lambda expressions
Please Sign up or sign in to vote.
9 May 2014
Purbasha Ghosh
Portfolio filtering/grouping
Please Sign up or sign in to vote.
18 Jul 2014
John-ph
A simple JavaScript program "Random Number Guessing Game" using knockoutjs
Please Sign up or sign in to vote.
22 Jul 2014
Chintankumar Panchasara
The below tip will help developers retrieving user id by account name using SharePoint REST APIs.
Please Sign up or sign in to vote.
26 Nov 2014
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
Please Sign up or sign in to vote.
12 Jan 2015
Balakrishnan Dhinakaran
Add email from Microsoft Outlook to SharePoint list using simple macro, JavaScript
Please Sign up or sign in to vote.
4 Feb 2015
Richard Roe
Example to show how to update an ASP.NET GridView control using Ajax JQuery client side script
Please Sign up or sign in to vote.
10 Sep 2015
toplan
Simple vim for textarea and input
Please Sign up or sign in to vote.
20 Sep 2015
B. Clay Shannon
A super-terse reference to tools needed to create Isomorphic JavaScript web apps
Please Sign up or sign in to vote.
9 Oct 2015
Pavel Durov
This tip briefly shows how to change your user agent or any other data in window.navigator object.
Please Sign up or sign in to vote.
7 Nov 2015
mnguyen88
This is an alternative for "Using the jQuery unobtrusive validator with Twitter Bootstrap tooltips"
Please Sign up or sign in to vote.
22 Dec 2015
Member 4206974
A JavaScript for generate gallery with some transition effects.
Please Sign up or sign in to vote.
24 Jan 2016
lakhdarr
Control and directives for address form auto completion using Google map V3 and JQuery/AngularJS
Please Sign up or sign in to vote.
21 Feb 2017
James J M
Ads aren't for everybody. Here's how you can get rid of them.
Please Sign up or sign in to vote.
8 Jul 2018
Alen Toma
How to implement ObjectStatus with EntityWorker.Core and JavaScript
Please Sign up or sign in to vote.
23 Jun 2018
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.)
Please Sign up or sign in to vote.
28 Jun 2018
Biswal Tanmaya
Node.js async await vs promise vs callback
Please Sign up or sign in to vote.
13 Oct 2018
Stefan Vincent Haug
Helper method to apply sorting from DataTables.js parameters in C#
Please Sign up or sign in to vote.
15 Mar 2021
Pablo A Martinez
How to use Google map and Spatial search to do freehand drawing
Please Sign up or sign in to vote.
16 Feb 2015
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...
Please Sign up or sign in to vote.
18 Apr 2011
nit_singh
2 alternatives  
This is an example to make a "Select All" check box using JQuey
Please Sign up or sign in to vote.
20 Apr 2011
thatraja
DescriptionS...
Please Sign up or sign in to vote.
31 May 2011
jsc42
You can simplify the replacement by not translating the strings to numbers as all array subscripts are treated as strings, and by representing '{' and '}' as more user-friendly substitutions (e.g. {{} and {}}) rather than {-1} and {-2} which can be pre-populated into the replacements array....
Please Sign up or sign in to vote.
8 Feb 2012
thatraja
HTML Marquee & its alternatives
Please Sign up or sign in to vote.
17 Feb 2012
josh.rendon
That conclusion is definitely wrong. Your equation expanded equals: b = (a+b) - (a-b) = a+b - a + b = 2*bFor your example a=20, b=10b = (20+10) - (20-10) = (30) - (10) = 20b = 20 + 10 - 20 + 10 = 20A counter example to disprove this: a=75, b=88b = (75+88) - (75-88) =...
Please Sign up or sign in to vote.
9 May 2012
jfriedman
This is an alternative for "Easy JavaScript Generic List Implementation"
Please Sign up or sign in to vote.
22 Jun 2012
Prosan
How to add and use JavaScript files's functions in DLL
Please Sign up or sign in to vote.
5 Aug 2013
Manas Bhardwaj
I have seen this question so many times on forums, so decided to put it as tip. Here is a simple code snippet to get unique list of values out of javascript array. It makes use of jQuery to do a look up.
Please Sign up or sign in to vote.
25 Mar 2013
jkirkerx
Basically a slideshow script, but more simple in design and easier to deploy.
Please Sign up or sign in to vote.
5 May 2013
mohammad amiri
Paging DataGridView using LINQ in C#.
Please Sign up or sign in to vote.
8 May 2013
Nikfazan
Using a custom Dojo Persian (Jalali) Calendar with a CDN
Please Sign up or sign in to vote.
26 Aug 2013
linush
How to serialize a kendo treeview current view into JSON data
Please Sign up or sign in to vote.
20 Sep 2013
Rajesh Udupi
JavaScript performance tips - Part 2
Please Sign up or sign in to vote.
4 Oct 2013
vandel212
How to add tool tips to your website that are lightweight, and painless
Please Sign up or sign in to vote.
13 Jan 2014
Jeremy Likness
Learn how to perform interception of services using Angular's decorator feature.
Please Sign up or sign in to vote.
20 Mar 2014
Super Lloyd
Some ideas to bring LINQ goodness to JavaScript array
Please Sign up or sign in to vote.
13 Apr 2014
Edson_Ferreira
This tip will demonstrate how to create a SPA using an MVC Application, AJAX and History.js
Please Sign up or sign in to vote.
27 May 2014
meula
Sample game Four in a row with KnockoutJS
Please Sign up or sign in to vote.
13 Jun 2014
Terrence Sheflin
An issue I ran into is sort stability with different browsers.
Please Sign up or sign in to vote.
15 Jun 2014
Garvit Arya
It is a JavaScript based application for drawing basic free-hand shapes, logos and drawings.
Please Sign up or sign in to vote.
3 Jul 2014
DiponRoy
How to use Ajax validation in Knockout
Please Sign up or sign in to vote.
4 Jul 2014
Paolo Moretti
Let's see how to use prolific to make better, more effective jasmine tests
Please Sign up or sign in to vote.
11 Jul 2014
DiponRoy
How to use trimming during object to JSON string serialization in JavaScript
Please Sign up or sign in to vote.
31 Jul 2014
SrikantSahu
This tip can be used to know more about how dojo templated widgets can be created and used inside a portlet programmatically.
Please Sign up or sign in to vote.
7 Aug 2014
Zachary Gardner
IE waits till the end of the thread to send AJAX POST requests to the server.
Please Sign up or sign in to vote.
19 Aug 2014
nasir_ml
How to make complicated “multi line charts” using simple HTML and JavaScript
Please Sign up or sign in to vote.
26 Aug 2014
saadixl
jQuery Typewriter effect on HTML text
Please Sign up or sign in to vote.
22 Sep 2014
Ajith K Gatty
This tip helps you to reset all your DropDownList values to the default one when a DropDownList changes its selection.
Please Sign up or sign in to vote.
29 Sep 2014
Rajendra Kumar Sahu
Easy way to show JavaScript Alert Message having Arabic Text
Please Sign up or sign in to vote.
8 Dec 2014
Neelesh Vishwakarma
Introduction to objects and classes in JavaScript
Please Sign up or sign in to vote.
16 Dec 2014
abhijit jha
This tip is for web developers who want to learn how to get started with editing source of Brackets
Please Sign up or sign in to vote.
28 Jan 2019
Peter Occil
Describes parametric curves and surfaces and how to generate them using my public-domain HTML 3D library
Please Sign up or sign in to vote.
14 Jun 2015
Fiyaz Hasan
Building a simple app for windows phone using plain HTML and Javascript
Please Sign up or sign in to vote.
28 Aug 2015
Arora Sumit
Defining Compile ,Pre & Post in AngularJS
Please Sign up or sign in to vote.
10 Sep 2015
Rohit Nanda
The easiest way to send form data to Google Docs/Spreadsheet from your web page, using your own form and AJAX. Nowadays, Google Docs/Drive is a widely used service for data storage and documents sharing.
Please Sign up or sign in to vote.
11 Sep 2015
Mostafa Asaduzzaman
Simple Hello World page in TypeScript using Visual Studio code
Please Sign up or sign in to vote.
19 Sep 2015
lschauer
Build and run a real smart watch app without even downloading an SDK
Please Sign up or sign in to vote.
29 Oct 2015
Asher Barak
A fun interactive way to present multidimensional data, using D3 and Game of Thrones
Please Sign up or sign in to vote.
13 Dec 2015
Brownie24
A quick and dirty way to ensure your .NET MVC forms apply Bootstrap's ".has-error" and ".has-success" classes, instead of relying on .NET's ".input-validation-error" class.
Please Sign up or sign in to vote.
19 Dec 2015
Swagat Parida
Steps to create a simple drawing app using HTML5 Canvas
Please Sign up or sign in to vote.
8 Nov 2016
slavik57
A library of notification based objects for TypeScript/JavaScript
Please Sign up or sign in to vote.
1 Jul 2016
Yaseer Mumtaz
In this small tip, I will explain how we can embed Google Visualization Geomap in the AngularJS with select event getting the selected location and using it to populate other data.
Please Sign up or sign in to vote.
1 Jul 2016
Vincent Maverick Durano
A quick example on how to implement GridView row highlighting and retain selected row on postbacks.
Please Sign up or sign in to vote.
31 Aug 2016
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
Please Sign up or sign in to vote.
6 Nov 2016
Mahesh Meegasmullage
Object Oriented Programming with DatumJs
Please Sign up or sign in to vote.
12 Nov 2016
NguDeveloper
Angular2 + Webpack web application using VS Code step by step
Please Sign up or sign in to vote.
13 Feb 2017
Mike Hankey
Highlighting the current menu item in MVC using the MvcSiteMapProvider turned out to be somewhat of a challenge but with a little head scratching and several cups of coffee, this is what emerged.
Please Sign up or sign in to vote.
4 Jun 2017
petrostherock
Making your apps script URLs a lot more attractive
Please Sign up or sign in to vote.
13 Jun 2018
Ryan Peden
A quick tip on adding labels to React form elements
Please Sign up or sign in to vote.
26 Jul 2019
Marijan Nikic
HTML line numbering using textarea
Please Sign up or sign in to vote.
3 Jul 2020
Roman Akhromieiev
Quick Introduction to Deno.js with an example
Please Sign up or sign in to vote.
17 Jan 2011
KevinAG
Your statement of, "I wanted to validate text inputed by a user as they were typing to tell them if it was a valid date." seems to be a bit misleading. I was under the impression that your code would start off returning true until I entered a non-number character, invalid separator, or invalid...
Please Sign up or sign in to vote.
12 Jun 2011
Seishin#
Optimal and unobtrusive JavaScript arrangement in MVC project
Please Sign up or sign in to vote.
19 Apr 2011
Toniyo Jackson
1 alternative  
To get Browsers View port Width & Height using JavaScript
Please Sign up or sign in to vote.
19 Apr 2011
nit_singh
Above aproach will work fine if there are less check box on the form. But if you have 1000 or 2000 check box on your page then it will consume some time.There is an alternate, unique and very fast way of doing the same thing.below code will create more than 2000 checkboxes on your...
Please Sign up or sign in to vote.
21 Apr 2011
gladtobegrey
Why not simply:markup = [];markup.push('');markup.push('');markup.push('');markup.push('');markup.push('Sample \'StringBuilder\' HTML');markup.push('');markup.push('');alert(markup.join('\n\r'));markup.toString() could...
Please Sign up or sign in to vote.
15 May 2011
M@dHatter
They need to make javascript only execute in scoped containers within the browser. Don't ask me how, I'm sure the browser companies can make some kinda sandbox element.
Please Sign up or sign in to vote.
26 Jul 2011
George Tryfonas
Not sure I got it correctly... But if I did, here's a simpler solution which doesn't rely on implication. Bitfields are ubiquitous in C programming, they are used to specify flags. If, for instance, your hotel requirements amount to bitfield 01101010 then you can simply AND the bitfield with...
Please Sign up or sign in to vote.
30 Aug 2011
Alexander Kouznetsov
A way to view, store and process logical expressions
Please Sign up or sign in to vote.
12 Oct 2011
Rupesh Kumar Tiwari
I have below suggestions:1) Why are you making call to webmethod are you fetching data from server and showing it in tool tip ? But in your example it seems that you are just returning the same data that you get from UI. If you are making some DB call and returning data to UI then its ok to...
Please Sign up or sign in to vote.
6 Nov 2011
Ram Balak Sharma
How to call synchronous and asynchronous way web service method in JavaScript by using JSON
Please Sign up or sign in to vote.
24 Nov 2011
thatraja
Blinking Text in TextBox using Javascript
Please Sign up or sign in to vote.
25 Apr 2013
Igor Krupitsky
Example of how to use JavaScript to drag, drop, and rotate elements for Safari in iPad.
Please Sign up or sign in to vote.
3 May 2012
Almar Mike
The basics of organizing code with OOP in JS
Please Sign up or sign in to vote.
15 Jun 2012
#realJSOP
One way to get around the "invalid character" error
Please Sign up or sign in to vote.
19 Sep 2012
sohaib patel
How to create a dynamic label editor web control on ASP.NET (textbox and label).
Please Sign up or sign in to vote.
19 Nov 2012
Raghav Nayak
Simple vertical scroller.
Please Sign up or sign in to vote.
4 Dec 2012
Emad Al Hawary
Try this block of HTML 5 code
Please Sign up or sign in to vote.
14 Jan 2013
Mihail Mateev
In this article you will learn about how to use PhoneGap with the new cutting edge Microsoft platform – Windows 8
Please Sign up or sign in to vote.
2 May 2013
yaseercp
Arabic text box using simple JavaScript.
Please Sign up or sign in to vote.
13 May 2013
ChienVH
In this article will show you how to work with ASP.Net and Paypal with Dynamic Ordering Values
Please Sign up or sign in to vote.
23 May 2013
RelicV
Alternative for AutoComplete control without Ajax and Webservices
Please Sign up or sign in to vote.
19 Aug 2013
babydragoner
Introduce how to use oGrid
Please Sign up or sign in to vote.
27 Jun 2013
Jon Woo
Consolidating all the information that I have found on cross domain interaction in the web world
Please Sign up or sign in to vote.
22 Aug 2013
SupperSlonic
Easily create vertical tabs on a web page with no JavaScript and minimum CSS.
Please Sign up or sign in to vote.
2 Nov 2013
Elagizy
Most of the mobile browsers don't support audio autoplay to save mobile bandwidth on behalf of the user!
Please Sign up or sign in to vote.
31 Jan 2014
B. Clay Shannon
A simple introduction to jsfiddle
Please Sign up or sign in to vote.
23 Feb 2014
Mack Ait-Aoudia
MVC and asynchronous calls
Please Sign up or sign in to vote.
15 Mar 2014
Herbert Lausmann
Inject a script (JavaScript) into a web page loaded in a WebBrowser control.
Please Sign up or sign in to vote.
5 Mar 2015
LiQuick
Using JQuery AJAX calls to load ASPX page(s) into another HTML/ASPX page
Please Sign up or sign in to vote.
13 Apr 2014
Rocky R. Fernandes
SharePoint 2013 Calendar - Capturing Render & Resize events
Please Sign up or sign in to vote.
26 Apr 2014
altaf008bd
This tip will describe a simple way to resolve "too much recursion" error when working with multiple modal dialogs
Please Sign up or sign in to vote.
14 May 2014
echokilo
A simple tip to avoid the pain caused by PayPal providing code snippets for buttons each in its own form tag
Please Sign up or sign in to vote.
15 Jun 2014
Jamal Seyedi
How to create print button for non-IE browsers in RDLC Viewers
Please Sign up or sign in to vote.
16 Jun 2014
Vincenzo Malvone
A simple way to create a Calendar View for Sharepoint Custom Library in aspx Page created in Sharepoint Designer 2010
Please Sign up or sign in to vote.
10 Jul 2014
DiponRoy
How to change the functionality or behavior of a function in JavaScript
Please Sign up or sign in to vote.
9 Aug 2014
John Bonfardeci
Cascading Asynchronous Function Execution (CAFÉ) is a design pattern for easily managing the execution sequence of asynchronous requests and callbacks within a medium to large JavaScript framework.
Please Sign up or sign in to vote.
18 Aug 2014
Sourav Kayal
In this tip, we will learn to share data from service to controller in AngularJS
Please Sign up or sign in to vote.
27 Aug 2014
Dhanabati
Using Bootstrap Carousel Slider in Servoy 7.4
Please Sign up or sign in to vote.
2 Sep 2014
Ashutosh Mahto
This article explains about hoisting in javascript variables and functions.
Please Sign up or sign in to vote.
4 Sep 2014
Yashwanth R
To fetch the ID of a grid view control which is inside a User Control
Please Sign up or sign in to vote.
25 Nov 2014
_exebook
A syntax sugaring module that will silently convert sync-style dot preceded calls into an async ladder.
Please Sign up or sign in to vote.
20 Dec 2014
code.manoz
Inline grid CRUD in ASP.NET MVC
Please Sign up or sign in to vote.
29 Jan 2015
Thang Believe
How to wrap costly functions to execute them only when needed, especially for debugging purposes
Please Sign up or sign in to vote.
6 Mar 2015
Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
Please Sign up or sign in to vote.
12 Apr 2016
Shivi Gupta Lucknow
To showcase the tracking by placing markers on a route displayed by directions service of the Google maps API every 5 seconds
Please Sign up or sign in to vote.
4 Apr 2015
Muhammad Hassan Tariq
Integration of datepicker as directive in custom prompt in AngularJS
Please Sign up or sign in to vote.
7 Apr 2015
George MVC Study
Part one of HTML table inline edit
Please Sign up or sign in to vote.
18 Apr 2015
George MVC Study
A jQuery function to set all columns in a div with equal height
Please Sign up or sign in to vote.
12 May 2015
TejasDesai.NET
Hello World with Angular 2.0
Please Sign up or sign in to vote.
3 Mar 2016
FrostedSyntax
This slideshow plugin extends jQuery and allows all sorts of customization, such as the ability to choose any element type as slides just by specifying a selector string.
Please Sign up or sign in to vote.
2 Jun 2015
Robert J. Barr
Simple AJAX/ASP .NET Web API SMS/Texting Service
Please Sign up or sign in to vote.
4 Aug 2015
B. Clay Shannon
Installing Meteor, creating a Meteor project, and running the out-of-the-box Meteor Javascript App
Please Sign up or sign in to vote.
21 Sep 2015
B. Clay Shannon
Easy-as-eating-gooseberry-pie handful of steps to incorporate a dialog into your Meteor app
Please Sign up or sign in to vote.
17 Oct 2015
José Cintra
Tips for creating mathematical cross-platform applications in JavaScript and display formulas and other content with MathJax and JQuery Mobile.
Please Sign up or sign in to vote.
24 Jan 2016
Robert J. Barr
Dynamically write a new row every Nth columns
Please Sign up or sign in to vote.
20 Feb 2016
Dave M. (Member 10734106)
Reusable draggable JavaScript panel with dynamic content
Please Sign up or sign in to vote.
7 May 2016
yuvalsol
Pretty print function for JavaScript Object & Array
Please Sign up or sign in to vote.
28 Jun 2016
Rajendra Kumar Sahu
Fix To Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values
Please Sign up or sign in to vote.
30 Jun 2016
Vincent Maverick Durano
A quick example on how to implement a dynamic cascading DropDownList within ASP.NET GridView control using JavaScript
Please Sign up or sign in to vote.
23 Sep 2016
KSN.Blogger
This tip will try to explain why (almost) everything in JavaScript is an object.
Please Sign up or sign in to vote.
27 Feb 2017
Ankur Rawat
Detect whether the event is click event or drag event of pushpin, performed by user in Bing Map
Please Sign up or sign in to vote.
31 May 2017
Member 13040242
We are going to talk about the problem faced because of asynchronous nature of SQL query execution in node js and the solution for it.
Please Sign up or sign in to vote.
9 May 2018
N.Younaki
Passing custom attribute from Model Class in MVC ASP NET Core and built HTML atrribute accordingly into HTML element, Best Practice Input Masking
Please Sign up or sign in to vote.
23 Jun 2018
Biswal Tanmaya
Use of Realm object in Realm event handler
Please Sign up or sign in to vote.
25 Sep 2018
Mike Hankey
The Flip jQuery plugin is a light weight extension that allows the user to type raw HTML and CSS in a textarea and have the ability to preview the formatted content without reloading page.
Please Sign up or sign in to vote.
21 Oct 2018
Matias Lopez
How to open a JSON file in JavaScript for Web"
Please Sign up or sign in to vote.
13 Nov 2018
Vlad Neculai Vizitiu
Short post which will tie in with the next post about branching authentication in ASP.NET Core using middleware.
Please Sign up or sign in to vote.
25 Aug 2019
scott_liu
This article shows approaches to set active Bootstrap nav tab under a specific condition.
Please Sign up or sign in to vote.
8 Sep 2019
Shao Voon Wong
Static Webpage Loading and Displaying Local Image Without Postback to Server
Please Sign up or sign in to vote.
8 Oct 2019
Ger Hayden
These notes are based on my experience getting started with IdentityServer4.
Please Sign up or sign in to vote.
16 Apr 2010
e.bonavero-miller
To enable JS intellisense in Visual Studio 2010, you have two options (there are others to do with reference tag name and assembly) but these are the ones that I know work.i) Add a JavaScript file to an AJAX server control project (which references System.Web.Extensions and hence the...
Please Sign up or sign in to vote.
31 Aug 2010
Prosanta Kundu online
I always prefer this approach belowASPX pageIn aspx.cs page Page_LoadPage.ClientScript.RegisterClientScriptBlock(Page.GetType(), "pageVars", string.Format("var TextBox1 = '{0}';", TextBox1.ClientID),true);When required...
Please Sign up or sign in to vote.
12 Oct 2010
Gil Fink
Back to Basics – OnBeforeUnload Event
Please Sign up or sign in to vote.
5 Jan 2011
Monu_TCS
JavaScript can listen to the enable/disable event from Firefox4 and can send to XPCOM components
Please Sign up or sign in to vote.
24 Jan 2011
Member 351555
Parse a microsoft visual studio 2008 solution file to create a project dependency graph
Please Sign up or sign in to vote.
18 Apr 2011
Albin Abel
1 alternative  
Just a simple note with sys.StringBuilder which is just beginner level
Please Sign up or sign in to vote.
26 Aug 2011
scott_liu
Create CSS class programmatically
Please Sign up or sign in to vote.
30 Aug 2011
ILa @ work
This nice trick extends into://*/block 1/*/block 2; // commented out/*/block 3;/*/block 4; // commented out//*/and removing the first slash gives inverted alternation:/*/block 1; // commented out/*/block 2;/*/block 3; // commented out/*/block...
Please Sign up or sign in to vote.
17 Oct 2011
bbirajdar
1 alternative  
How to fix the issues when an ASP.NET web page goes blank with JavaScript alert() .
Please Sign up or sign in to vote.
26 Nov 2011
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...
Please Sign up or sign in to vote.
14 Dec 2011
Prince Antony G
This code also performs the same functionality: window.onload = function() { var check = document.getElementById(""); check.onchange = function() { if (this.checked == true) ...
Please Sign up or sign in to vote.
25 Dec 2011
Dhol Gaurav
Problem and solution of add date into JavaScript with daylightsaving in different time zone
Please Sign up or sign in to vote.
14 Feb 2012
LordXandor
Simple cross browser JavaScript get set
Please Sign up or sign in to vote.
14 Feb 2012
Ramanujam Shankar
1 alternative  
Validate entered From Date and To Date in web application using JavaScript
Please Sign up or sign in to vote.
2 Mar 2012
Ramanujam Shankar
While click on hyperlink - redirect to another page and pass the Request.Form object values using javascript function
Please Sign up or sign in to vote.
24 Mar 2012
Jani Giannoudis
A simple ASP.NET container control to represent content which requires JavaScript.
Please Sign up or sign in to vote.
22 Mar 2012
Jani Giannoudis
A simple ASP.NET control to invoke JavaScript code dynamic from the server side.
Please Sign up or sign in to vote.
26 Mar 2012
Voicent Support
Delay load g+1 button to make web page loads faster and more responsive
Please Sign up or sign in to vote.
9 May 2012
Ali Al Omairi(Abu AlHassan)
Overwriting the __doPostBack() function to target the post-back form according to eventTarget
Please Sign up or sign in to vote.
27 Apr 2013
Giuseppe Luciano
How to customize HTML5 form validation with JavaScript and CSS
Please Sign up or sign in to vote.
17 Jun 2012
scott_liu
This plug-in enhances user experience of input boxes on a web page.
Please Sign up or sign in to vote.
19 Jun 2012
Dane Balia
A Sample with a Quick Explanation
Please Sign up or sign in to vote.
29 Jun 2012
Prosan
Create a menu using JavaScript on mouseover and hide this menu on mouse out event.
Please Sign up or sign in to vote.
30 Jun 2012
Geethanga Amarasinghe
Using a Regular Expression within a Javascript to validate user input
Please Sign up or sign in to vote.
17 Jul 2012
r verma
Continuing from last upload about some useful findings
Please Sign up or sign in to vote.
3 Aug 2012
Sympletech
Using a little jQuery to add the ability to handle the on row clicked of the KendoUI Grid Control.
Please Sign up or sign in to vote.
24 Aug 2012
Atul Kale
A Utility JavaScript class to provide a Lap Timer like functionality, in a reusable fashion
Please Sign up or sign in to vote.
4 Sep 2012
omryl
Use libphonenumber in iphone apps in an efficient and clean way
Please Sign up or sign in to vote.
6 Sep 2012
Christopher John Paul
Prevent users from entering comma
Please Sign up or sign in to vote.
11 Sep 2012
Mehul M Thakkar
Bind a JavaScript function to multiple events using jQuery
Please Sign up or sign in to vote.
17 Sep 2012
Bojin Li
Integrating jQuery Context Menu Plugin with Bing Maps AJAX Control V7
Please Sign up or sign in to vote.
14 Oct 2012
Nitesh Luharuka
This post describes how to reference your Javascript files from a page that uses Routed URLs
Please Sign up or sign in to vote.
25 Oct 2012
niklabh
jQuery customised version to be used with Windows 8.
Please Sign up or sign in to vote.
30 Oct 2012
William C. Anderson
A powerful, stand-alone Javascript cookie manager.
Please Sign up or sign in to vote.
27 Nov 2012
Gianmaria Gregori
How to add a random sliding effect to the Bakery home page
Please Sign up or sign in to vote.
28 Nov 2012
ravindra5233
Sample script for PAN card number validation.
Please Sign up or sign in to vote.
17 Dec 2012
santosh poojari
This is most general collection operation that we come across daily. Its set based operation using LINQ Except Operator.
Please Sign up or sign in to vote.
10 Mar 2013
xibao
Generate class definition for Web API Service Models.
Please Sign up or sign in to vote.
15 Jul 2013
pravink83
Trick to show background image in Google Charts in Internet Explorer.
Please Sign up or sign in to vote.
11 Mar 2013
Anshul R
Increase text box length as you type
Please Sign up or sign in to vote.
19 Mar 2013
Mariano MountainMan Ureta
WinJS connection status
Please Sign up or sign in to vote.
6 Apr 2013
MortezaKeshavarz
A slide show for web form projects.
Please Sign up or sign in to vote.
9 Apr 2013
Praveen Kumar Chauhan (PRK)
Load huge data on your web page without postback
Please Sign up or sign in to vote.
18 Apr 2013
Stephen Hewison
Problems with the ASP.Net engine caused by the increase of tablet browsers, IE10 and user agents.
Please Sign up or sign in to vote.
23 Apr 2013
Mikhus
Lightweight URL manipulation with JavaScript with pretty simple API. Minified and gzipped