Difference between revisions of "ARIA Alertdialog"

From Level Access Web Labs
Jump to navigation Jump to search
Line 41: Line 41:
 
<!--<label for="myAnswer" >Type in your answer: </label>
 
<!--<label for="myAnswer" >Type in your answer: </label>
 
<input maxlength="10" type="text" id="myAnswer">-->
 
<input maxlength="10" type="text" id="myAnswer">-->
<button id="setFocusBtn" onclick="showAlert()">set focus</button>
+
<button id="setFocusBtn" onclick="showAlert()">Display Alert Dialog</button>
  
 
<div class="aldg" id="alertdg"  style="display:none" >
 
<div class="aldg" id="alertdg"  style="display:none" >
Line 64: Line 64:
 
<!-- <p id="alertdg_title" >Alert Box</p>
 
<!-- <p id="alertdg_title" >Alert Box</p>
 
   <p id="alertdg_message">Incorrect Password!</p>
 
   <p id="alertdg_message">Incorrect Password!</p>
   <input id="alertdg_close" type="button" value="Close" onkeydown="closeDialog()" onclick="closeDialog()"> -->
+
   <input style="width: 4em;" id="alertdg_close" type="button" value="Close" onkeydown="closeDialog()" onclick="closeDialog()"> -->
  
 
</div>
 
</div>
  
 
<div>
 
<div>
   Test: <input type="text" />
+
   <label for="s1"> Search:</label> <input id="s1" type="text" value="Field does nothin" />
 
</div>
 
</div>
  

Revision as of 19:01, 26 March 2014

Alertdialog example