You are on page 1of 4

3/23/13

GrasshopperPebbles.com Demos: imValidateForm - Ajax Success: External Function

GrassHopperPebbles.com Demos
JQuery Plugins JQuery UI Widgets YUI Widgets Dojo Widgets Flash/AS3 Classes Blog Plugin/Widget Demos Brainstorm Photo Galleries

JQuery Plugins
imAnimTabber Slide Option Height Option Width Option Fade Option Carousel Option gpImageRotate Random Image (Json) Random Image Multiple Links Fade Out Fade inOut Fade inOutIn Fade Class Curtains Out x-Axis Curtains inOut x-Axis Curtains inOutIn x-Axis Curtains y-Axis Blinds Out x-Axis Blinds inOut x-Axis Blinds inOutIn x-Axis Blinds y-Axis Pixels Out Pixels inOut Pixels inOutIn Zoom Out Zoom inOut Zoom inOutIn Zoom tlbr Out Zoom tlbr inOut Zoom tlbr inOutIn Zoom trbl Out Zoom trbl inOut Zoom trbl inOutIn Zoom bltr Out
grasshopperpebbles.com/demos/validateform/extern_func 1/4

3/23/13

GrasshopperPebbles.com Demos: imValidateForm - Ajax Success: External Function

Zoom bltr inOut Zoom bltr inOutIn Zoom brtl Out Zoom brtl inOut Zoom brtl inOutIn Squeeze Out x-Axis Squeeze inOut x-Axis Squeeze inOutIn x-Axis Squeeze y-Axis Carousel Carousel with Navigation Portfolio Portfolio with Description slideX Portfolio with Description slideY Portfolio with Thumb Nav Portfolio with Thumb Nav Scroll Stair Step Simple Gallery - Thumb Top Simple Gallery - Thumb Bottom Simple Gallery - Lightbox imBookFlip AutoFlip:off AutoFlip:click Fixed Position External Control Go To Page Flip Direction Ajax Load* New Ajax Load Iframe* New imGoogleMaps Auto Mode Manual Mode Ajax Retreival Reverse Geocoding Multiple Addresses Street View Custom Marker Custom Marker - Json Data Custom Marker - User Image Version 1.0 * New Version 1.0 - Layers * New imCheckBoxDB Example 1 imValidateForm Basic Example GoTo Option External Function imPagePopulate
grasshopperpebbles.com/demos/validateform/extern_func 2/4

3/23/13

GrasshopperPebbles.com Demos: imValidateForm - Ajax Success: External Function

Basic Example Sub Map Additional Elements Calculations Call Function imList Table Option Div Option OL/UL Option Select Option Self Option imMultiLineList Add Items Add Item Get Selected Items Remove Selected Items imProgessBar Inline - Prepend Inline - After popup

Create a Mobile Site


www.GinWiz.com Convert Your Website to Mobile In Under 2 Minutes. Start Now!

imValidateForm 1.1 - Ajax Success: External Function


The following example shows how to use the imValidateForm plugin and using the 'ajax_success' option to call an external function. Remember, the external function must be a method of a Javascript object.
f u n c t i o nr e g i s t r a t i o n ( ){ t h i s . r e g C o m p l e t e=f u n c t i o n ( ){ a l e r t ( ' Y o uh a v ec o m p l e t e dr e g i s t r a t i o n ' ) ; } ; } v a rr e g i s t r a t i o n=n e wr e g i s t r a t i o n ( ) ;

View the source code for this page to view how to use the plugin. For documentation about the imValidateForm plugin, view the blog post. Copyright (c) 2008-2012

First Name*: Last Name*: Address1*: Address2: City*:

dgf sdf

grasshopperpebbles.com/demos/validateform/extern_func

3/4

3/23/13

GrasshopperPebbles.com Demos: imValidateForm - Ajax Success: External Function

State*: Zip/Postal Code*: Home Phone: Email Address*: Confirm Email:

Select...

Submit

Required fields are marked with an (*) Street Address must be entered City cannot be blank States cannot be blank Zip Code cannot be blank Email Address cannot be blank Email Address is not a valid GrasshopperPebbles.com.

Tags
Ajax, ajaxally, forms, JQuery, JQuery plugins

grasshopperpebbles.com/demos/validateform/extern_func

4/4

You might also like