Prev | Current Page 753 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

index] > b.values[o.index]) 1
else 0
) * (o.asc ? 1 : -1);
});
for(row in data)
tbody.appendChild(row.tr);
}
}
The example can be compiled using the following command:
> haxe -main Main -js main.js
Data Validation in HTML Forms
The HTML syntax has not evolved a lot from its first definition in the area of form submissions and
input controls. The available tools such as text inputs, checkboxes, and buttons are essentially the same
since then. The working draft definitions for the next generation standards such as (X)HTML5, Web
Forms 2.0, XHTML 2, XForms 1.0, and complementary technologies are very promising, but at the
moment very few browsers support them in a complete way and those technologies are not usable out of
the box. In the meantime, while waiting for the browsers to embrace the new standards, problems must
be resolved with the available tools.
One of the biggest issues in HTML forms is having a good feedback about the correctness of the user
actions. There are controls that limit a lot of the interaction with the users and this is of great help to
them because it helps to avoid mistakes.


Pages:
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765