You have quotes mismatch. You are prematurely closing your '
single quotes.
Use a proper IDE to code.
More Related Contents:
- Execute PHP function with onclick
- WordPress or building site on own? Which is more cost efficient?
- Countdown in javascript, database and php
- jQuery append function is just appending the html but not the classes related to it
- Updating php values using jquery
- How to Protect website code PHP / JS? [closed]
- Sending Variable From Php To Js [duplicate]
- view php msg in alert javascript [duplicate]
- How to get 100% ADA compliance result in accessibility checker website https://webaccessibility.com? [closed]
- How to capture the Print Event?
- For-each over an array in JavaScript
- How to detect user’s timezone?
- Check if object value exists within a Javascript array of objects and if not add a new object to array
- Javascript Audio Play on click
- Get index of clicked element using pure javascript
- Why Array.forEach is slower than for() loop in Javascript? [duplicate]
- Populating a select box using JQUERY, AJAX and PHP
- Ajax file upload
- Encrypt in Javascript, decrypt in PHP, using public-key cryptography
- how to Execute PhantomJS from PHP
- Change value of input and submit form in JavaScript
- JavaScript for loop index strangeness [duplicate]
- Passing JSON data from php to html-data attribute and then to Javascript
- How to make a button execute a php script?
- SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- Why is “forEach not a function” for this object?
- Function not calling within an onclick event
- Set cookie on multiple domains with PHP or JavaScript
- Remove everything within script and style tags
- How to return an array from an AJAX call?