Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

18 March 2010

Nested HTML FORMs

It is possible to have multiple forms within the same Html document but it is NOT possible to have a Html Form nested within another Form. See the W3C Html Form for reference. This is a fact that has escaped my memory once or twice throughout my time been a web developer so to avoid wasting time it's important to remember this basic rule.

Is there a way around this? The short answer is yes using javascript and html which isn't really a nested form but behaves like one. This jQuery nested form solution is a pretty neat way of doing it.