{"absolute_url": "/KadeJM/disable-form-script-javascript-html/", "blog_post": false, "code": " \n \n \n \n If JavaScript is Enabled/Disabled \n \n \n \n
\n Blah Blah Blah...\n

\n \n

\n
\n error message here \n
\n \n \n \n", "created": "2016-03-23T12:35:48.233791", "description": "Just a simple script that allows you to disable your form if javascript is disabled.", "description_rendered": "Just a simple script that allows you to disable your form if javascript is disabled.", "embed_url": "https://snipt.net/embed/5cc0e40635d5ae31e9a62160bd957243/", "full_absolute_url": "/KadeJM/disable-form-script-javascript-html/", "id": 144908, "lexer": "js", "line_count": 35, "log_entries": [{"code": " \n \n \n \n If JavaScript is Enabled/Disabled \n \n \n \n
\n Blah Blah Blah...\n

\n \n

\n
\n error message here \n
\n \n \n \n", "created": "2016-03-23T12:35:48.251701", "diff": "--- \n+++ \n@@ -0,0 +1,35 @@\n+ \n+ \n+ \n+ \n+ If JavaScript is Enabled/Disabled \n+ \n+ \n+ \n+
\n+ Blah Blah Blah...\n+

\n+ \n+

\n+
\n+ error message here \n+
\n+ \n+ \n+ \n+", "user": "KadeJM"}], "meta": null, "modified": "2019-06-19T04:46:42.375328", "publish_date": "2016-03-23T12:35:48.200431", "raw_url": "/raw/5cc0e40635d5ae31e9a62160bd957243/", "resource_uri": "/api/public/snipt/144908/", "slug": "disable-form-script-javascript-html", "stylized": "
 1\n 2\n 3\n 4\n 5\n 6\n 7\n 8\n 9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" \n "http://www.w3.org/TR/html4/strict.dtd"> \n<html> \n<head> \n  <meta http-equiv="Content-Type" content="text/html; charset:utf-8"> \n  <title>If JavaScript is Enabled/Disabled</title> \n  <style type="text/css"> \n  #myForm { \n    display: none; \n  } \n  .hasJs #jsRequired { \n    display: none; \n  } \n  .hasJs #myForm { \n    display: block; \n  } \n  </style> \n</head> \n<body> \n<div id="myForm"> \n  Blah Blah Blah...\n  <p>\n  <script type="text/javascript" src="http://form.jotform.co/jsform/32207302537849"></script>\n</div> \n<div id="jsRequired"> \n  error message here \n</div> \n<script type="text/javascript" src="http://yui.yahooapis.com/2.5.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> \n<script type="text/javascript"> \nYAHOO.util.Event.onDOMReady(function () { \n  YAHOO.util.Dom.addClass(document.body, 'hasJs'); \n}); \n</script> \n</body> \n</html>\n
\n
", "tags": [{"absolute_url": "/public/tag/javascript/", "id": 7, "name": "javascript", "resource_uri": "/api/public/tag/7/", "snipts": "/api/public/snipt/?tag=7"}, {"absolute_url": "/public/tag/script/", "id": 59, "name": "script", "resource_uri": "/api/public/tag/59/", "snipts": "/api/public/snipt/?tag=59"}, {"absolute_url": "/public/tag/html/", "id": 67, "name": "html", "resource_uri": "/api/public/tag/67/", "snipts": "/api/public/snipt/?tag=67"}, {"absolute_url": "/public/tag/js/", "id": 259, "name": "js", "resource_uri": "/api/public/tag/259/", "snipts": "/api/public/snipt/?tag=259"}, {"absolute_url": "/public/tag/disable/", "id": 1294, "name": "disable", "resource_uri": "/api/public/tag/1294/", "snipts": "/api/public/snipt/?tag=1294"}], "title": "Disable Form Script - Javascript + Html", "user": {"absolute_url": "/KadeJM/", "email_md5": "a95845b8f17cfeb12451b23a2e1f31f3", "id": 23002, "resource_uri": "/api/public/user/23002/", "snipts": "/api/public/snipt/?user=23002", "snipts_count": 10, "username": "KadeJM"}}