Action Sheet Snippets


14 July, 2014   

A few points of interest: * The HREF links use JavaScript to set a browser cookie named "style". * Since we are only setting one cookie and it's name is "style", we can read its value using "document.cookie.charAt(6)". * If no cookie is set, "StyleFile" will evaluate to "style.css". * The...

06 March, 2013   

There are two methods for creating separate styles depending on the media type. both example given below:

10 August, 2011   

Url Encode is a technique employed in order to convert a string used in a URL into a valid URL forma and decode url

27 April, 2014   

Code example for tracking email response

03 August, 2013   

ColdFusion code for upload files to directory

08 January, 2014   

Simple Python IRC bot by Berend.

Internal Mail System or private messaging system. Easy to embed into your own projects.

15 September, 2012   

This will perform the action of deleting many files.

11 May, 2013   

Generate CAPTCHA images for form validation without any outside library's or plug-ins

Note that to add a new column to the query, just add in an input box to the HTML, the PHP generates an insert for each field.

Confirm a deletion (or any action) with Javascript.

30 March, 2013   

The characters in a password field are masked (shown as asterisks or circles).

11 February, 2013   

File inputs can have an attribute of "multiple" which then allows multiple files to be selected in the file section dialog box.

When using forms within your web site, there may be times when you will want to include an example of what you'd like your visitors to fill in your form field. Although you could place some default text within your form field, your users would need to delete the default text in order to type in their own information.

23 March, 2011   

When using forms within your web site, there may be times when you will want to include an example of what you'd like your visitors to fill in your form field. Although you could place some default text within your form field, your users would need to delete the default text in order to type in their own information.

02 June, 2011   

This will check an email, to see if it is in a valid format.

HTML code Snippet to get directions form (Google Maps) saddr = blank input field for entering START address daddr = hard-coded END address

This is an example for Form Based Query

31 January, 2012   

Use this code to put Google search bar on web page.

iPhone code snippet to handle taps within a UIWebView