Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#5397 closed defect (duplicate)

Textarea 1.0.1: Event handling does not work in Firefox

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit - Form Version: 1.0
Keywords: Textarea events Cc:
Blocked By: Blocking:


Hi, first: I have created this ticket yesterday evening already, but I can't find it now, so if it exists already, just close this one.

The Issue: Textarea event handling does not work in Dojo 0.9, 1.0 and 1.0.1. Below is a sample, on the page, onclick work for the textarea only if one clicks on the edge of the Component. It should also fire when the user clicks on the text. The sample also contains a textbox with which the same thing works just fine.

This only applies to Firefox, Version is .

Here is the sample:

<head> <title>Dojo Events are Great</title> <script type="text/javascript" src=""></script> <script type="text/javascript">

function foo(){


} function fee(){


} </script> <script type="text/javascript">



dojo.addOnLoad(function() {


var areaNode = dojo.byId("areaid"); dojo.connect(areaNode, 'onclick', foo); var boxNode = dojo.byId("boxid"); dojo.connect(boxNode, 'onclick', fee);


</script> <body> <input dojoType='dijit.form.Textarea' name='area' id='areaid' value='a comment' ></input> <input dojoType='dijit.form.TextBox?' name='box' id='boxid' value='a box' ></input>

</body> </html>

Change History (3)

comment:1 Changed 15 years ago by guest

sorry, just saw the other one, please close.

comment:2 Changed 15 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #5391.

comment:3 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.