When I try to execute the code, a strange error comes out:

enter image description here

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="https://code.jquery.com/jquery-1.11.2.min.js"></script> <script src="common.js"></script> <script > $(document).ready(function() { function output() { alert("testing RadioButton events"); } }); </script> </head> <body> <form id="form"> <input type="text" id="lol1" name="name" placeholder="Ваше имя" required /> <br /> <br /> <br /> <input type="text" id="lol2" name="phone" placeholder="Ваш телефон" required /> <br /> <button id="lol3" onClick="output()">Отправить</button> </form> <?php //echo $name ; //echo $phone ; ?> </body> </html> 
  • do you use any adBlock ? - Grundy
  • yes, but when I insert some other foreign code, everything works - Alexander Melnikov
  • so he blocks. what's inside common.js ? - Grundy
  • and can be in more detail? what to fix. For Dummies - Alexander Melnikov
  • @AlexanderMelnikov, do not use ads, or disable adblock - Grundy

0