title: How to connect to database in JavaScript
body: <p>How can I connect to mysql DB from JS function? </p>
  
  <p>I found this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/857670/how-to-connect-to-sql-server-database-from-javascript">How to connect to SQL server database from javascript?</a></p>
  
  <p>but it doesn't work on Chrome, because they're using <code>ActiveXObject</code>.</p>
  
  <p>Thank you.</p>