PORK.Iframe is a really easy way to submit your forms without reloading the page, in just one line of Javascript like you’re used from the popular ‘AJAX’ frameworks.

page, in just one line of Javascript like you’re used from the popular ‘AJAX’ frameworks.

PORK.Iframe was built from moo.ajax which was altered to to hook your form’s onSubmit event, dynamically create a hidden iframe tag, set your form’s target to that hidden iframe, and then fire an event as soon as the response got back.

The main advantage is that you can just create the forms you were always used to create, and the same response HTML you were always used to create, but now you can just update the contents of one (or more, using built-in JSON support) DIV’s.


Download from: Homepage




Author:
admin
Time:
Friday, May 9th, 2008 at 8:28 am
Category:
Calendar Systems, Games, Sound
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply