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

List:       kfm-devel
Subject:    test case: buttons not updated when text changed via javascript
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2002-03-19 9:00:20
[Download RAW message or body]

hi.

attached is a small test case of something that worked last week, but doesn't 
work this week. it also works in other browser such as netscape.

when you click on the "Not Changed" button, it should have its label changed 
to "Changed". but it doesn't, it still says "Not Changed".

the internal value of the button gets updated however, since if when its value  
value is assigned to the lineedit right below it, the lineedit's value 
changes.

evidently the actual push button is not being redrawn to reflect the new value 
...

-- 
Aaron Seigo
["test.html" (text/html)]

<html>
<body>

<form method="post" name="frm" onSubmit='elements["feedback"].value = "Changed"; \
elements["morefeedback"].value = elements["feedback"].value; return false;' \
action="newLocation.php"> <input type="submit" name="feedback" value="Not \
changed"><br> <input type="text" name="morefeedback" value="Not changed">

</form>
</body>
</html>



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

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