{"id":600,"date":"2012-09-28T11:09:17","date_gmt":"2012-09-28T11:09:17","guid":{"rendered":"https:\/\/ibex.tech\/javascript\/?p=600"},"modified":"2022-02-17T07:14:47","modified_gmt":"2022-02-17T07:14:47","slug":"functions-general-2","status":"publish","type":"post","link":"https:\/\/ibex.tech\/javascript\/functions-javascript\/functions-general-2","title":{"rendered":".Functions General"},"content":{"rendered":"<pre>\r\n<code>\r\nfunction functionName() {\r\n  \/\/ the JavaScript you want to run\r\n}\r\n<\/code><\/pre>\n<pre>\r\n<code>\r\nfunction my_function (some_value, some_other_value)\r\n{\r\n}\r\n<\/code><\/pre>\n<h4>\nFunction Included In Definition<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n$(&#39;#your-element-id&#39;).live(&#39;vmousedown&#39;, function()\r\n{\r\n\talert(&quot;Down&quot;)\r\n});\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>function functionName() { \/\/ the JavaScript you want to run } function my_function (some_value, some_other_value) { } Function Included In Definition $(&#39;#your-element-id&#39;).live(&#39;vmousedown&#39;, function() { alert(&quot;Down&quot;) }); &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-functions-javascript"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/600","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=600"}],"version-history":[{"count":5,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":1407,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/600\/revisions\/1407"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/tags?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}