mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
98f561aeb9
commit
8cbbfe92cf
@ -3,7 +3,7 @@
|
||||
This is a simple helper that extends the default form helper, and it adds a function to transform a simple form into an ajax one, it only needs the id of the form you want to upload, optionally you can give it a second paremeter, as if you dont specify this, it will send a POST request, you can change this to POST or GET.
|
||||
The third argument is an id of a div layer, if specified, the result of the request will go there, the fourth argument is a boolean value, if true it will make the div automatically, if false, it will assume you already have a form like that in your code, default is true.
|
||||
|
||||
Helper: http://pastebin.com/f72c7d780
|
||||
Helper: [url]http://pastebin.com/f72c7d780[/url]
|
||||
|
||||
Here is a simple example
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user