Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#form_div').submit(function() {
var inputs = [];
$(':input', this).each(function() {
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#form_div').submit(function() {
var inputs = [];
$(':input', this).each(function() {
@bkmorse
bkmorse / gist:5706372
Created June 4, 2013 14:31
native php array function to do this?
//take this
Array
(
[0] => Array
(
[1] => 40354
)
[1] => Array
if( $drop_down && !$online_only ):
if( apc_exists('subject_drop_down' . $term_code) )
return apc_fetch('subject_drop_down' . $term_code);
elseif( $drop_down && $online_only ):
if( apc_exists('online_subject_drop_down' . $term_code) )
return apc_fetch('online_subject_drop_down' . $term_code);
endif;
if( $drop_down && !$online_only ):
if( apc_exists('subject_drop_down' . $term_code) )
return apc_fetch('subject_drop_down' . $term_code);
elseif( $drop_down && $online_only ):
if( apc_exists('online_subject_drop_down' . $term_code) )
return apc_fetch('online_subject_drop_down' . $term_code);
endif;
if( $drop_down && !$online_only )
{
if( apc_exists('subject_drop_down' . $term_code) ) { return apc_fetch('subject_drop_down' . $term_code); }
}
elseif( $drop_down && $online_only )
{
if( apc_exists('online_subject_drop_down' . $term_code) ) { return apc_fetch('online_subject_drop_down' . $term_code); }
}
{exp:plugin_name}
<a href="{plugin_url}">{plugin_title}</a>
{/exp:plugin_name}
$(document).ready(function()
{
function displayAjaxMessage(message)
{
$("#ajax-message").html(message);
$("#ajax-message").show();
$("#newsletter-form").hide();
}
$("#newsletter-form").submit(function(event)
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* ExpressionEngine - by EllisLab
*
* @package ExpressionEngine
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2003 - 2011, EllisLab, Inc.
* @license http://expressionengine.com/user_guide/license.html
* @link http://expressionengine.com
export/
Alaska
Honeymoon //celebration
First_name_id
image.jpg
image2.jpg
video.mp4