Home » HTML » HTML_AJAX » Bug #7026
formsubmit only accepts 'target' as target
Details
| Submitted | 2006-03-05 17:31 UTC |
|---|---|
| From | iljamaas at dreamsolution dot nl |
| Assigned | jeichorn |
| Status | Closed |
| Package | HTML_AJAX |
| PHP Version | Irrelevant |
| OS | winXP |
| Roadmaps | (Not assigned) |
Comments
[2006-03-05 17:31 UTC] iljamaas at dreamsolution dot nl
Description:
------------
formSubmit: function (form, target){
/* SNIP */
if (typeof target == 'string') {
target = document.getElementById('target');
if (!target) {
target = form;
}
}
/* SNIP */
Shouldn't the getElementById value be target instead of 'target'?
[2006-03-05 19:01 UTC] jeichorn at php dot net
Fixed in SVN thanks
You can get the new version at: http://svn.bluga.net/HTML_AJAX/trunk/js