Home » HTML » HTML_AJAX » Bug #9537
formSubmit target also accepting a function
Details
| Request #9537 | formSubmit target also accepting a function |
|---|---|
| Submitted | 2006-12-04 16:22 UTC |
| From | michiel at dinnersite dot nl |
| Assigned | jeichorn |
| Status | Closed |
| Package | HTML_AJAX |
| PHP Version | 4.4.4 |
| OS | Mandrake Linux |
| Roadmaps | 0.5.1 |
Comments
[2006-12-04 16:22 UTC] michiel at dinnersite dot nl
Description:
------------
It would be very nice if the formSubmit function would also accept a function for a callback instead of just an id to insert the result into, just like the grab method works.
[2006-12-04 18:13 UTC] jeichorn at php dot net
You can already do this using the options array, but i guess it makes sense to do type detection and let the id field take a function instead
[2006-12-05 08:11 UTC] michiel at dinnersite dot nl
Ok, didn't know that, I see it now in the code (wasn't looking too good last time I guess). But it indeed would make more sense to keep the API as consistent as possible.
[2006-12-19 22:34 UTC] jeichorn at php dot net
Fixed in 0.5.1
[2006-12-19 22:38 UTC] jeichorn at php dot net
This was a feature addition so not so much fixed as added