Find Elements Snippets


30 October, 2013   

Example code showing how to make an array of files you find

* Code to generate spiral matrix for n elements where n >= 1 * To generate spiral matrix for n elements just * Change the value of MAX to whatever u want :)

Finds all scene elements that belong to missing plugins, original code by Larry Minton

C+ source code for Generate a spiral matrix for n elements

10 June, 2013   

A function that returns an array of elements based on DOM element, tag, and class name. For instance, getElementsByClassName(document, 'tr', 'info') will return an array of all "tr" tags under the document node having the "info" class.

13 February, 2011   

Check for Empty Elements

CSS code example for Clickable Elements a Pointer Cursor

02 July, 2012   

:even and :odd (Select elements with an even index or odd index elements. The index starts from 0.)

I would like to find the position of the last occurrence of a character in a string and print every thing after that.

27 August, 2011   

The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting. The noscript element can contain all the elements that you can find inside the body element of a normal HTML page. The content inside the noscript element will...

24 August, 2013   

MySQL code to find duplicate records in table

11 August, 2012   

MySQL code to find and replace string

11 December, 2012   

MySql script to find invalid email addresses

C code snippet for merging sort algorithm to sort

20 March, 2012   

HTML code example for Style HTML elements

10 September, 2012   

MySql script to find invalid email addresses

Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).

13 November, 2011   

How to find records with last date of month

13 October, 2012   

You need to give each element a sequentially numbered tab index value in order for this script to work properly.

MySQL code to find all duplicates in a database column(s)n.