JavaScript Tutorial/Development/postError

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

opera.postError

   <source lang="javascript">

<html>

   <head>
       <title>Debug Example</title>
       <script type="text/javascript">
               function test_function() {
                   opera.postError("Entering function.");
                   opera.postError ("Leaving function.");
               }
               test_function();
       </script>
   </head>
   <body>

This example works in Opera only.

   </body>

</html></source>