{"id":817,"date":"2013-01-10T13:30:11","date_gmt":"2013-01-10T13:30:11","guid":{"rendered":"https:\/\/ibex.tech\/javascript\/?p=817"},"modified":"2022-02-17T07:14:47","modified_gmt":"2022-02-17T07:14:47","slug":"javascript-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/javascript\/javascript-general\/javascript-general","title":{"rendered":".Javascript general"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;script>   &lt;\/script>\n\n\n&lt;script>\n\n&lt;\/script>\n\n\n&lt;script>\n  function functionName() {\n    \/\/ the JavaScript you want to run\n  }\n&lt;\/script><\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">type=&#8221;text\/javascript&#8221;<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/type=\"text\/javascript\" is no longer required (since HTML5 javascript is default), so there is no need for this:\n  &lt;script type=\"text\/javascript\"&gt;\n\n  &lt;\/script&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>type=&#8221;text\/javascript&#8221;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-817","post","type-post","status-publish","format-standard","hentry","category-javascript-general"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/comments?post=817"}],"version-history":[{"count":6,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/817\/revisions"}],"predecessor-version":[{"id":3683,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/817\/revisions\/3683"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/media?parent=817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/categories?post=817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/tags?post=817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}