Log In

Email:
Password:
Keep me logged in

Forgot Password

Email:

Sponsored Links


Word Count (jQuery/Javascript)
jQuery/Javascript function which trims the surrounding spaces (if any) and then counts words in a string which are separated by only one space.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 Comments

strstr() [jQuery/Javascript]
jQuery/Javascript equivalent to PHP's "strstr()" function. Displays part of the string starting from the first occurence of its needle, and/or displays the part of the string before the first needle.
Wednesday, January 11, 2012 | Browse Category | 20 Views, 0 Comments

String Padding (jQuery/Javascript)
jQuery/Javascript equivalent to PHP's "str_pad()" function in which a string pads another on the left, right, or on both sides.
Wednesday, January 11, 2012 | Browse Category | 15 Views, 0 Comments

Number Format (jQuery/Javascript)
Converts digits into a formatted number that contains a point after every digits and its opposite puncuation as the decimal point.
Wednesday, January 11, 2012 | Browse Category | 12 Views, 0 Comments

Random Number from Range (jQuery/Javascript)
Selects a random number (a-b) using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 18 Views, 0 Comments

Sort Array Backwards (jQuery/JS)
Sorts arrays alphabetcally and numerically in reverse using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 Comments

Alternate Text Colors (jQuery/JS)
jQuery/Javascript function that alternates between two font colors.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 Comments

Convert Textarea Line Breaks in HTML (jQuery/JS)
Breaks lines in HTML as text does in the <textarea> tag.
Wednesday, January 11, 2012 | Browse Category | 17 Views, 0 Comments

Font Increase/Decrease Button (CSS/jQuery)
Includes two buttons, both of which increase and decrease the font size of the main text.
Wednesday, January 11, 2012 | Browse Category | 13 Views, 0 Comments

Strip Tags (jQuery/Javascript)
Strips HTML tags like PHP's "strip_tags()" function.
Wednesday, January 11, 2012 | Browse Category | 11 Views, 0 Comments

Password Strength Meter (CSS/jQuery/JS)
Measures the strength of the input password using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 11 Views, 0 Comments

Shuffle String (jQuery/Javascript)
Shuffles the order of letters of a string using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 14 Views, 0 Comments

Roman/Arabic Numeral Converter (PHP/jQuery/JS)
Converts a number to its Roman Numeral and vice versa, using both PHP & Javascript.
Thursday, December 1, 2011 | Browse Category | 128 Views, 1 Comment

Most Searched Terms (PHP)
Displays the most searched terms using PHP. Splits every word of the query and checks if any of them matche any keywords in the database; if so each term is counted as one.
Thursday, December 1, 2011 | Browse Category | 83 Views, 0 Comments

Count Online Users
Count the number of logged in users using PHP/MySQL.
Thursday, December 1, 2011 | Browse Category | 80 Views, 0 Comments

Like/Dislike Button (PHP/Ajax/jQuery)
A system in which users can rate content. Uses PHP to store the rating, Ajax to rate without refreshing the page, and jQuery for the Ajax callback function.
Thursday, December 1, 2011 | Browse Category | 333 Views, 1 Comment

Rewrite Username URL (.htaccess)
Rewrites URL from 'http://example.com/profile.php?user=wcet2011' to 'http://example.com/wcet2011' using the .htaccess file.
Thursday, December 1, 2011 | Browse Category | 72 Views, 0 Comments

Download File (PHP)
Downloads a file from the server to local hard drive using PHP.
Thursday, December 1, 2011 | Browse Category | 68 Views, 0 Comments

Load More Posts onScroll (PHP/Ajax/jQuery)
Loads one page of older content when at the window scrollbar is at the bottom of its track.
Thursday, December 1, 2011 | Browse Category | 150 Views, 0 Comments

Show Content w/ Input Radio (CSS/jQuery/JS)
Shows content that goes with its "input radio" element using CSS & jQuery. Ex: When input#i1 is selected, it shows div#d1, looks at the common denominator, '1,' for comparison.
Thursday, December 1, 2011 | Browse Category | 74 Views, 0 Comments

Print Window (Javascript)
Prints the current web page using Javascript.
Thursday, December 1, 2011 | Browse Category | 75 Views, 0 Comments

Live Timestamp (jQuery)
Gets the current timestamp every second using jQuery.
Thursday, December 1, 2011 | Browse Category | 107 Views, 0 Comments

Hover Element, Show Another (CSS/jQuery/JS)
Shows hidden content above its main content using CSS and the "onMouseOver" Javascript event.
Thursday, December 1, 2011 | Browse Category | 66 Views, 0 Comments

Detect URL in String (PHP/jQuery/JS)
'For loop' function that searches a string for link patterns. If any, they will be inserted into an 'a' tag.
Wednesday, November 30, 2011 | Browse Category | 75 Views, 0 Comments

Email Validator (PHP/jQuery/JS)
Checks if email is valid using both PHP and Javascript functions.
Friday, November 11, 2011 | Browse Category | 85 Views, 0 Comments

Password Alphanumeric Check (PHP/jQuery/Javascript
Gets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 124 Views, 0 Comments

User Agent (PHP/Javascript)
Gets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 94 Views, 0 Comments

Upload (Image) File (PHP)
Uses simple PHP and cURL to upload a local file to the specified web server via FTP.
Friday, November 11, 2011 | Browse Category | 110 Views, 0 Comments

Division with Remainder (PHP/jQuery/Javascript)
Puts the division and remainder operators together in both PHP and Javascript.
Friday, November 11, 2011 | Browse Category | 101 Views, 0 Comments

Live Validation (PHP/Ajax/jQuery)
Checks each input value for errors. If any, they will be displayed next to the input. Includes username, email, password, and password confirmation.
Friday, November 11, 2011 | Browse Category | 139 Views, 0 Comments

Last Login (PHP/Ajax/jQuery)
Displays the user's previous login date during the current session. Writes the current date and time as a session upon login and when user logs off, that session is stored in the user's column in database as "last login," which will be displayed in the next session, and so forth.
Friday, November 11, 2011 | Browse Category | 100 Views, 0 Comments

Select Day of the Year (PHP/jQuery/JS)
Gets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 106 Views, 0 Comments

Hover Table Rows, Show Options (PHP/jQuery/JS)
Shows hidden elements of a table row onMouseover and hides them again onMouseOut.
Friday, November 11, 2011 | Browse Category | 110 Views, 0 Comments

Letter FadeOut (jQuery)
Javascript function that makes an element for each character of a string, which all fade out. Fades out from the beginning of string or from the end.
Friday, November 11, 2011 | Browse Category | 88 Views, 0 Comments

News Ticker (jQuery)
Flashes multiple strings from an array like a news ticker.
Friday, November 11, 2011 | Browse Category | 129 Views, 0 Comments

Dynamic Pages (jQuery/JS)
Javacript function that hides all elements of a class, but when an ID of that class is in present in the address bar, the corresponding content is displayed.
Thursday, November 10, 2011 | Browse Category | 75 Views, 0 Comments

Count Views of a MySQL Row (PHP)
Counts each visit of dynamic page as a "view" by retrieving the current number of views from its MySQL database and incrementing it by one.
Tuesday, November 1, 2011 | Browse Category | 161 Views, 0 Comments

Reverse String (jQuery/JS)
A Javascript/jQuery function allowing a string to be shown in reverse.
Saturday, October 1, 2011 | Browse Category | 214 Views, 0 Comments

CAPTCHA
CAPTCHA function which features a 'random string' image function in PHP, a 'refresher' button in Javascript/jQuery, and an Ajax that check if the text and image text match.
Saturday, October 1, 2011 | Browse Category | 127 Views, 0 Comments

Create an Image with Info
Creates an image file with a string and an image URL using several PHP functions.
Saturday, October 1, 2011 | Browse Category | 188 Views, 1 Comment

Word Wrap (jQuery/JS)
A Javascript/jQuery equivalent to PHP's 'word_wrap' function which here allows a line to break for every 20 characters using in a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 194 Views, 0 Comments

Repeat String (jQuery/JS)
A Javascript/jQuery equivalent of the PHP 'str_repeat' function operated by a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 167 Views, 0 Comments

Login (PHP/Ajax/jQuery)
Check for correct username and password on the spot by having users log in with Ajax/jQuery.
Saturday, October 1, 2011 | Browse Category | 102 Views, 0 Comments

Range (jQuery/JS)
A Javascript/jQuery equivalent to PHP's 'range' function. using a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 135 Views, 0 Comments

Change Button Color (Hold "Enter")
OnKeyDown the button changes color and onKeyUp it reverts back.
Saturday, October 1, 2011 | Browse Category | 139 Views, 0 Comments

Times Tables (PHP/JS)
PHP function which display a 12*12 times table and a Javscript function which enables users to insert two numbers to display one.
Saturday, October 1, 2011 | Browse Category | 106 Views, 0 Comments

Simple Calculator (jQuery/JS)
A Javascript/jQuery function which allow live calculating using the OnKeyUp event.
Saturday, October 1, 2011 | Browse Category | 157 Views, 0 Comments

Watermark (PHP)
PHP function creating a watermarked image by superimposing a small image on top of a larger one on the bottom right hand corner.
Saturday, October 1, 2011 | Browse Category | 125 Views, 0 Comments

Alternate Table BG Colors (PHP/jQuery/JS)
PHP & jQuery/Javascript function which alternate two background colors for user comments by assigning even and odd numbers which corresponds with their assigned colors.
Wednesday, September 21, 2011 | Browse Category | 125 Views, 0 Comments

Highlight Directly After Post (PHP/Ajax/jQuery)
After a user submits a comment, the background color of the post will highlight and then fade in 2.5 seconds.
Wednesday, September 21, 2011 | Browse Category | 191 Views, 0 Comments

Implode/Explode (jQuery/Javascript)
A jQuery/Javascript function which shows characters added between words of string (implode) and which also shows a string divided by a certain character (explode). Similar to the implode/explode function in PHP.
Sunday, September 18, 2011 | Browse Category | 180 Views, 1 Comment

Capitalize Words (jQuery/Javascript)
Capitalizes every word in a string with jQuery/Javascript, similar to PHP's 'ucwords()'.
Sunday, September 18, 2011 | Browse Category | 138 Views, 0 Comments

In Array (jQuery/Javascript)
Need to test if a value is in an array? Here's a Javascript alternative. No need for an extra jQuery plug-in, however jQuery is a shortcut for labeling the elements.
Tuesday, August 23, 2011 | Browse Category | 118 Views, 0 Comments

Show More/Less Button
Gets the current timestamp every second using jQuery.
Monday, August 15, 2011 | Browse Category | 172 Views, 0 Comments

Random Image (PHP)
Displays a random image on every page load.
Monday, August 15, 2011 | Browse Category | 190 Views, 0 Comments

Random String (PHP/jQuery/JS)
The 'for loop' displays a random character for the length of the random string, in both PHP and Javascript.
Monday, August 15, 2011 | Browse Category | 246 Views, 2 Comments

Shuffle List (PHP)
Shuffle a list of any kind: number, letter, images, etc. with the PHP 'Shuffle' and 'for loop' functions.
Monday, August 15, 2011 | Browse Category | 191 Views, 0 Comments

Textarea Tricks
Includes removing the browser default focus outline for a custom box shadow. Also includes removing the resize feature, or just limiting it to either vertical or horizontal.
Monday, August 15, 2011 | Browse Category | 185 Views, 0 Comments

Set Cookies in jQuery
Set cookies in jQuery with an essential plug-in.
Monday, August 15, 2011 | Browse Category | 218 Views, 0 Comments

Substring Count (jQuery/Javascript)
Can't find a 'Substring Count' in Javascript like you can in PHP? This function has the substring looping through the full string finding any matches and then displays how many matches there are in another element.
Monday, August 15, 2011 | Browse Category | 231 Views, 0 Comments

Bar of Statistics
Scales statistics of each item by percentage which are proportional to the size of the bar.
Friday, August 19, 2011 | Browse Category | 145 Views, 0 Comments

Max Characters (jQuery)
Gets the current timestamp every second using jQuery.
Wednesday, August 3, 2011 | Browse Category | 166 Views, 1 Comment

Scroll to Top (or other element) [jQuery]
When users click on an element, the page scrolls to the top of the page or any other element of page, up or down.
Wednesday, August 3, 2011 | Browse Category | 196 Views, 0 Comments

Auto-Focus Next Input (jQuery)
After typing something like the area code of a phone number, the focus automatically goes to the next field for the next three digits.
Wednesday, August 3, 2011 | Browse Category | 175 Views, 0 Comments

Fill Input with "Search" (jQuery)
When the input field is empty or filled with spaces, on blur it displays a placeholder until it's no longer empty.
Wednesday, August 3, 2011 | Browse Category | 103 Views, 0 Comments

Webkit Custom Scrollbar
Create your own stylish scrollbar for any element or for the entire body.
Monday, August 1, 2011 | Browse Category | 207 Views, 0 Comments

Live Date & Time (jQuery)
Display the current date and time by the second in a hidden input element for posting.
Monday, August 1, 2011 | Browse Category | 191 Views, 0 Comments

Tabbed Tables (CSS/jQuery)
Have similar pieces content in separate tabs.
Monday, August 1, 2011 | Browse Category | 66 Views, 0 Comments

Ctrl+(Shift)+Enter (jQuery)
Gets the current timestamp every second using jQuery.
Sunday, July 31, 2011 | Browse Category | 160 Views, 0 Comments

Horizontal Menu (CSS)
Simple jQuery and CSS can display a fully functional horizontal menu.
Sunday, July 31, 2011 | Browse Category | 162 Views, 0 Comments

Background PopUp (CSS/jQuery)
With a press of a button, this will display a black (or whatever color), transparent background with content even include an "Escape" button which hides the background.
Sunday, July 31, 2011 | Browse Category | 208 Views, 0 Comments

Image Scale (PHP)
Executes image reduction, scaling it down within its maximum dimensions.
Sunday, July 31, 2011 | Browse Category | 240 Views, 0 Comments

Load More Button (jQuery)
Instead of pagination, this code contains the "Load More" button, which loads a page of content from the bottom.
Thursday, July 28, 2011 | Browse Category | 186 Views, 0 Comments

Live Search (PHP/Ajax/jQuery)
Have search results after each letter without pressing "Search." Contains simple Ajax and jQuery functionality as well PHP/MySQL.
Wednesday, July 27, 2011 | Browse Category | 273 Views, 1 Comment

Pagination (PHP/Ajax/jQuery)
Have users browse pages of content within one page. Contains simple Ajax and jQuery functionality as well PHP/MySQL.
Saturday, July 23, 2011 | Browse Category | 138 Views, 1 Comment

Check/Uncheck All + Delete Messages (jQuery)
Checks and/or unchecks all checkboxes in an array and deletes all selected records with a press of a button.
Friday, July 22, 2011 | Browse Category | 218 Views, 1 Comment