//
archives

Javascript

This category contains 7 posts

Javascript Google Maps V3, multiple Marker with color dan label

1. get API key from google.com All Maps API applications* should load the Maps API using an API key. Using an API key enables you to monitor your application’s Maps API usage, and ensures that Google can contact you about your application if necessary. If your application’s Maps API usage exceeds the Usage Limits, you must … Continue reading

AjaxControlToolkit with ASP.NET

The Ajax Control Toolkit contains a rich set of controls that you can use to build highly responsive and interactive Ajax-enabled ASP.NET Web Forms applications. Follow the steps below to download and start using the Ajax Control Toolkit with Visual Studio: Download the Ajax Control Toolkit The first step is to download the Ajax Control … Continue reading

Simple Ajax in ASP.NET

1. Create New Web Project > Using ASP.NET Ajax-Enable WebSite if did’t using this choice, asp.net will getting error ‘System.Web.UI.ScriptManager’ is not defined 2. Add Reference for AjaxControls.dll and AjaxControlToolkit.dll 3. HTML page : <%@ Page Language=”VB” AutoEventWireup=”false” CodeFile=”simplecb.aspx.vb” Inherits=”simplecb” %> <%@ Register Assembly=”AjaxControls” Namespace=”AjaxControls” TagPrefix=”cc2″ %> <%@ Register Assembly=”AjaxControlToolkit” Namespace=”AjaxControlToolkit” TagPrefix=”cc1″ %> <!DOCTYPE html PUBLIC … Continue reading

Sample Pattern Regular Expression (REGEX)

Title TestDetailsPattern Title Expression ^\$[0-9]+(\.[0-9][0-9])?$ Description Validates a dollar amount including a dollar sign and 2 decmals. The decimal and cents are optional. Matches $1.50 | $49 | $0.50 Non-Matches 1.5 | $1.333 | this $5.12 fails Title TestDetailsPattern Title Expression ^(\d{1,3}'(\d{3}’)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$ Description This regex match numeric data in the following format: thousands are separated by (‘) apostrophe, decimal places are separated by … Continue reading

How To Install Google Analytic

Google Analytics is easy to set up and it won’t cost you a dime.  More importantly, you can have lots of great data about your visitors tracking within the hour.  Google Analytics and most other analytics applications are installed by pasting a few snippets of javascript code in the footer of the site.  If you … Continue reading

input text Currency Format using Javascript

Input text for money currency very important, but that need write and change on key press. This problem can be solve using javascript, let’s read this sample : <html xmlns=”http://www.w3.org/1999/xhtml”&gt; <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> <script language=javascript> function currencyFormat(fld, milSep, decSep, e) { var sep = 0; var key = ”; var i = … Continue reading

Checking Javascript Available Object

Calling object name using javacript like document.getElementById(“id”).value or document.Form1.value will have problem if that object not available. How do checking the object? This is sample checking : if(null !== x && ‘object’ == typeof(x)) {     alert(“Hey, It’s an object or an array; good enough!”); } if available return of alert(obj); will be “[object]” … Continue reading

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 10 other subscribers
May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Archives

Web Statistic

Blog Stats

  • 187,137 hits