JavaScript Reference/Event Handlers Reference/onErrorUpdate

Материал из Web эксперт
Перейти к: навигация, поиск

"onErrorUpdate" Example

   <source lang="javascript">
   

<html> <head> <title>Recordset Events</title> <script for="birth" event="onerrorupdate">

   alert("Error Updating");

</script> </head> <body> <object classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" id="myData">

  <param name="DataURL" value="myfile.csv">
  <param name="UseHeader" value="True">
  <param name="TextQualifier" value=""">

</object>

First Name <input id=firstname type=text datasrc=#myData datafld=firstname>
Last Name <input id=lastname type=text datasrc=#myData datafld=lastname>
<thead> </thead> <tbody> </tbody>
First Last

</body> </html>



     </source>
   
  


"onErrorUpdate" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> | | |<button> <custom> |

| |
<frame> |

| |<iframe> <img> | | |<inputtype="checkbox"> <input type="hidden"> | | |<input type="password"> <inputtype="radio"> | | |<input type="text"> <label> | | |<legend> <map> | | |<marquee> <object> | | | | | |<select> | | |<textarea> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"onErrorUpdate" Properties

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |cancelBubble ctrlLeft | | |shiftLeft srcElement | | |type | +----------------+--------------------------------------------------------------+

     </source>
   
  


"onErrorUpdate" Syntax and Note

   <source lang="javascript">

Note:

This event fires if an error occurs while updating data in a databound object.


     </source>