News
IBM to offer mobile security as a service IBM will start delivering mobile security-as-a-service (MaaS) through its own cloud infrastructure in India, a move that is expected to better address in-country data requirements... IBM Spectrum Computing: IBM has enlarged its portfolio of software-defined infrastructure solutions with cognitive features for workload management.  * LiFi internet technology has been introduced, the new type of wireless internet connection that gives 100 times faster than traditional WiFi -- Invented by Professor Harald Haas from the University of Edinburgh. * Sci. Rachid Yazami has developed a smart chip that charges smartphones in less than 10 minutes. BenQ has launched BlueCore projector - Consumer electronics major BenQ has launched its first BlueCore laser light source projector. For those unaware, devices with BlueCore laser technology have a high contrast output of 80000:1 with an extended lamp life and efficiency. ***
Category - JavaScript
 
Jan 3 2015 10:32PM    Posted By: John   Tagged As: JavaScript, JS Ajax
AJAX (Asynchronous JavaScript and XML) is the art of exchanging data with a server and updating parts of a web page – without reloading the entire page.
public partial class LoginValidationWithAjax : System.Web.UI.Page
{
string returnvalue = string.Empty;
protected void Page_Load(object sender, EventArgs e)
     {
 ...
[Read More]

Jan 3 2015 10:32PM    Posted By: John   Tagged As: JavaScript, JS Ajax
Here you can see the simple code for Ajax in JavaScript. Before using Ajax, you need to add the AjaxControlToolKit.ddl to your bin folder.
function GetXmlHttpObject() 
{
var xmlHttp = null;
try 
{
                xmlHttp = new XMLHttpRequest();
        }
 ...
[Read More]

Jan 3 2015 10:32PM    Posted By: John   Tagged As: JavaScript, JS Ajax
Ajax stands for Asynchronous JavaScript and XML. Ajax is used to Update the part of the web page without reloading the entire page.
var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
   ...
[Read More]

Jan 3 2015 10:32PM    Posted By: John   Tagged As: JavaScript
Validating the HTML control is a very important task in any application development.Now this page shows you how to validate the dropdown using java script.
function ddlValidate() {
            var e = document.getElementById("ddlView");
            var optionSelIndex = e.options[e.selectedIndex].value;
                ...
[Read More]

Dec 14 2014 8:31AM    Posted By: Anand   Tagged As: JavaScript
Java Script is dynamic and most commonly used in all programming languages.This validation is verifying that the supplied Mobile Number is in correct format.
<script type="text/javascript">
function isNumber(evt) {
            evt = (evt) ? evt : window.event;
            var charCode = (evt.which) ? evt.which : evt.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57)) {
 ...
[Read More]

Dec 14 2014 8:31AM    Posted By: Anand   Tagged As: JavaScript
Java Script is dynamic and most commonly used in all programming languages.This validation is verifying that the supplied email address is in correct format.
<script type="text/javascript">
function validateEmail() {
var email = document.getElementById(txtEmail);
        var mailFormat = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
 ...
[Read More]

Nov 30 2014 8:32AM    Posted By: Anand   Tagged As: JavaScript
charAt() - This Method takes the integer value and Returns the character at the specified position.
var StrChar = str.charAt(4);
 ...
[Read More]

Nov 23 2014 5:22AM    Posted By: Anand   Tagged As: JavaScript
Convert JSON to Javascript Object Using built-in function JSON.parse() available in javascript.
var studentObject = JSON.parse(jsonRes);
            var bindHtml = "";
            if (studentObject != null) {
                bindHtml += <table style=border: 1px solid #81B411;border-collapse: collapse;width: 34%; border=1>;
                ...
[Read More]

Prev 12 Next
Search
1&1 Hosting
Recent Posts
Bind Gridview from CSV file in Asp.Net C#
Jun 18 2016 11:38PM Posted By Michael
Call WebService method from jQuery in every 1 minute
Feb 27 2016 11:51AM Posted By John
Gridview custom CSS in ASP.Net
Feb 25 2016 10:59AM Posted By Micheal Ryan
Read excel file and bind to Gridview in C#
Feb 25 2016 10:20AM Posted By Micheal
Read excel file and convert to List in C#
Feb 25 2016 6:26AM Posted By Michael
Encryption and Decryption for Password in C#
Feb 17 2016 3:52AM Posted By Michael
How to create Chart in ASP.Net C#
Feb 16 2016 8:03AM Posted By Michael Ryan
Tags
Follow us on Facebook
Follow us on Google +
Recent post in your Email inbox.
Enter your email address: