Categories
Tags → How To Code Javascript

Escape HTML Characters

In this howto you''re gonna learn how you can escape HTML characters, nice and easy using PHP. This is useful for example to prevent users enter malicious HTML or javascript code into your site using the public forms like guestbooks or message...
DETAILS

Emulating the PHP foreach(){...} in javascript

Javascript does not provide a foreach construct like that found in VB.NET, C#, or PHP. This code shows how to get the same effect in Javascript.
DETAILS

Dynamic (2 level) navigation list

The creation of a dynamic nested unordered list without using any JavaScript code is sometimes a problem because the script needs to &"remember&" the values, sub values and also the query string from previous clicked links. In this ...
DETAILS

Head Rush Ajax

With Head Rush Ajax, in no time you''ll be writing JavaScript code that fires off asynchronous requests to web servers...and having fun doing it. By the time you''ve taken your dynamic HTML, XML, JSON, and DOM skills up a few notches, you&a...
DETAILS

Loops in JavaScript

JavaScript performs several types of repetitive operations, called &"looping&". Loops are set of instructions used to repeat the same block of code till a specified condition returns false or true depending on how you need it. This ...
DETAILS

PHP Date Picker Class 1.0.1

This PHP class can be used to generate a nice, template driven date picker in a pop-up window. The class will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from ...
DETAILS

data grid php class

- the class executes a given SQL query and generates a template driven HTML code that displays the query results - automatically provides means of navigation trough pages and lets user decide how many rows to be displayed on each page - automatic...
DETAILS

E-mail To A Friend Script

Features - E-mail to a friend script with full code and notes - Javascript e-mail address validation included - Script is easily customizable with your own form fields (i.e. Your Name, Friend''s Name, Add A Note) and messages Benef...
DETAILS

Ajax ''Suggest'' box for HTML Forms

Tutorial explaining how to use Ajax (Asynchronous Javascript and XML) to create a drop-down ''suggest'' box for form fields which updates as you type by querying the server in the background. Similar to the ''Google Suggest'' ap...
DETAILS

Click Tracker

The script will track how many people are clicking on the download links and on the links that open in a separate frame (popup window). You don''t need to modify links, just place a few lines of JavaScript code in the head section of your webpag...
DETAILS

Page:
©2019 A--9.com