Creation of INPUT with value broken

Creation of INPUT with value broken

Hi,

In 1.4.2 the following line works:
$("<input/>", {"type": "hidden", "id": "myID", "value": "hi" });

The following line does NOT:
$("<input/>", {"type": "text", "id": "myID", "value": "hi" });


Why is it that the creation of a hidden element with a value works, but not for a text element?