PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_AJAX » Bug #7026

formsubmit only accepts 'target' as target

Details

Submitted2006-03-05 17:31 UTC
Fromiljamaas at dreamsolution dot nl
Assignedjeichorn
StatusClosed
PackageHTML_AJAX
PHP VersionIrrelevant
OSwinXP
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