Dojo Dijit and HTML5 in Real world applications/Template: Difference between revisions

From PMISwiki
Jump to navigation Jump to search
(Created page with "==Template== ==How to use== ==Tips and tricks== <syntaxhighlight lang="html4strict"> </syntaxhighlight> <syntaxhighlight lang="html5"> </syntaxhighlight> ==References== [...")
 
No edit summary
Line 6: Line 6:
    
    
<syntaxhighlight lang="html4strict">
<syntaxhighlight lang="html4strict">
    <form id="myForm" action="myServerFile.php" method="post" name="myForm"
                data-dojo-type="dijit.form.Form"
                data-dojo-props=" name:  'myForm',
                                  action:'myServerFile.php',
                                  method:'post'">
    <!-- form elements -->
    </form>
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="html5">
<syntaxhighlight lang="html5">
    <form id="myForm" action="myServerFile.php" method="post" name="myForm"
                data-dojo-type="dijit.form.Form"
                data-dojo-props=" name:  'myForm',
                                  action:'myServerFile.php',
                                  method:'post'">
    <!-- form elements -->
    </form>
</syntaxhighlight>
</syntaxhighlight>



Revision as of 01:24, 17 September 2011

Template

How to use

Tips and tricks

    <form id="myForm" action="myServerFile.php" method="post" name="myForm"
                data-dojo-type="dijit.form.Form"
                data-dojo-props=" name:  'myForm',
                                  action:'myServerFile.php', 
                                  method:'post'">
    <!-- form elements -->
    </form>
    <form id="myForm" action="myServerFile.php" method="post" name="myForm"
                data-dojo-type="dijit.form.Form"
                data-dojo-props=" name:  'myForm',
                                  action:'myServerFile.php', 
                                  method:'post'">
    <!-- form elements -->
    </form>

References