[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    Bug#40029: onchange is not triggered on input type=text
From:       pascal () vmfacility ! fr
Date:       2002-04-02 11:49:48
[Download RAW message or body]

Package: kjs
Version: KDE 2.9.0 9 (3.0 rc3)
Severity: normal
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.3 2.96-0.77mdk)
OS:                Linux (i686) release 2.4.18-5mdkenterprise
OS/Compiler notes: 

onchange events seems not to trigger on input fields in a form.
I did not test other kind of tags with onchange.

here is the test case :

<html>
<head>
        <title>test onchange
        </title>
</head>
<script type="text/javascript">
        function changed(name)
        {
                o = document.getElementsByName(name)[0];
                o2 = document.getElementsByName("copie")[0];
                o2.value = o.value;
                return true;
        }
</script>
<body>
        <form name="myform" method="put" action="#">
                <input type="text" name="inp" onchange="changed('inp');">
                <input type="text" name="copie" value="">
        </form>
</body>
</html>


(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application manually changed)

_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic