Code Snippets

Page 5 of 8
<< Previous   3 | 4 | 5 | 6 | 7   Next >>
Code Snippets

Trigger change event of dropdown using jQuery

How to trigger the change event of an html select dropdown using jQuery.

Code Snippets

Clearing and resetting forms with jQuery

Code snippet for resetting and clearing form elements using jQuery.

Code Snippets

Get selected option from select dropdown in jquery

How to get the selected value or text from a dropdown select html element.

Code Snippets

Google maps location search that updates center

How to create a simple location search that updates the center of the map using Google Maps API 3.

Code Snippets

Use a WordPress shortcode in a template

Code snippets for using WordPress shortcodes inside templates.

Code Snippets

MySQL escape an array

This code snippet will escape an array of data so it can be used in a SQL query without risking sql injection attacks.

Code Snippets

Javascript replace double quotes with single quotes

How to replace double quotes with single quotes in javascript (and vice-versa).

Code Snippets

Javascript remove line breaks from textarea

How to remove line breaks from a textarea in javascript.

Code Snippets

Use WordPress functions in a custom PHP file

How to use all the WordPress functions in a custom PHP file.

Code Snippets

Redirect specific user roles after login in WordPress

This post introduces a few different options that you can use to redirect different WordPress user roles without installing any third-party plugins.

Page 5 of 8
<< Previous   3 | 4 | 5 | 6 | 7   Next >>
Sign Up

Popular Tags

350x250

Need a web developer?

If you'd like to work with code synthesis on your next project get in touch via the contact page.