An ajax post dialog plugin for jQuery
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
lib
resources
src
build.bat
demo.html
readme.md

readme.md

jQuery Ajax Dialog

Properties

  • dialogSelector*

Contains the jQuery selector to use to find the dialog. Could be "#idOfElement" or ".classOnElement"

  • dialogOffsetX

The vertical offset for the dialog to appear

  • dialogOffsetY

The horizontal offset for the dialog to appear

  • postUrl*

To url to which the form should be posted

Default: Empty

  • useValidation

If set you yes, the plugin will use jQueryValidate to validate the form.

Default: false

Methods

  • resetDialog(bool deelay)

Used to reset all forms and elements inside the dialog.

  • handleSubmitResponse

Handles the reponse from the server

Events

  • onBeforeShow Called before the dialog is shown, can be used to set values of hidden fields etc.

  • onSubmitCompleted Called when a post is completed, used to update the UI.