{"id":59,"date":"2013-01-29T15:05:41","date_gmt":"2013-01-29T15:05:41","guid":{"rendered":"http:\/\/www.tvarwebu.cz\/blog\/?p=59"},"modified":"2013-01-29T15:05:41","modified_gmt":"2013-01-29T15:05:41","slug":"jquery-simple-color-picker","status":"publish","type":"post","link":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/","title":{"rendered":"jQuery simple-color-picker"},"content":{"rendered":"<p>We use <a title=\"simple color picker\" href=\"https:\/\/github.com\/rachel-carvalho\/simple-color-picker\" target=\"_blank\">simpleColorPicker jQuery plugin<\/a>.<\/p>\n<p>We had an issue that function .live() is depricated in jQuery 1.9.<\/p>\n<p>We solved it by replacing following line:<\/p>\n<p>Line 56: $(&#8216;body&#8217;).live(&#8216;click&#8217;, function() {<\/p>\n<p>Correction: $(document).on(&#8216;click&#8217;, &#8216;body&#8217;, function() {<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $(&#8216;body&#8217;).live(&#8216;click&#8217;, function() { Correction: $(document).on(&#8216;click&#8217;, &#8216;body&#8217;, function() {<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-uncategorized","item-wrap"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $(&#039;body&#039;).live(&#039;click&#039;, function() { Correction: $(document).on(&#039;click&#039;, &#039;body&#039;, function() {\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jirka\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $(&#039;body&#039;).live(&#039;click&#039;, function() { Correction: $(document).on(&#039;click&#039;, &#039;body&#039;, function() {\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-01-29T15:05:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-01-29T15:05:41+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $(&#039;body&#039;).live(&#039;click&#039;, function() { Correction: $(document).on(&#039;click&#039;, &#039;body&#039;, function() {\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#article\",\"name\":\"jQuery simple-color-picker | Tv\\u00e1\\u0159 Webu Blog\",\"headline\":\"jQuery simple-color-picker\",\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/jirka\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"},\"datePublished\":\"2013-01-29T15:05:41+00:00\",\"dateModified\":\"2013-01-29T15:05:41+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#webpage\"},\"articleSection\":\"Uncategorized\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#listItem\",\"name\":\"jQuery simple-color-picker\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#listItem\",\"position\":3,\"name\":\"jQuery simple-color-picker\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/jirka\\\/#author\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/jirka\\\/\",\"name\":\"Jirka\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bbc690621dcbb7252d4ec0cacdd766cb9fdbdd39c42d3b424d6f2dd3abd4143?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jirka\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/\",\"name\":\"jQuery simple-color-picker | Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $('body').live('click', function() { Correction: $(document).on('click', 'body', function() {\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/jquery-simple-color-picker\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/jirka\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/jirka\\\/#author\"},\"datePublished\":\"2013-01-29T15:05:41+00:00\",\"dateModified\":\"2013-01-29T15:05:41+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog","description":"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $('body').live('click', function() { Correction: $(document).on('click', 'body', function() {","canonical_url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#article","name":"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog","headline":"jQuery simple-color-picker","author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/jirka\/#author"},"publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"},"datePublished":"2013-01-29T15:05:41+00:00","dateModified":"2013-01-29T15:05:41+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#webpage"},"articleSection":"Uncategorized"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tvarwebu.cz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","position":2,"name":"Uncategorized","item":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#listItem","name":"jQuery simple-color-picker"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#listItem","position":3,"name":"jQuery simple-color-picker","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","url":"https:\/\/www.tvarwebu.cz\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/jirka\/#author","url":"https:\/\/www.tvarwebu.cz\/blog\/author\/jirka\/","name":"Jirka","image":{"@type":"ImageObject","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9bbc690621dcbb7252d4ec0cacdd766cb9fdbdd39c42d3b424d6f2dd3abd4143?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jirka"}},{"@type":"WebPage","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#webpage","url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/","name":"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog","description":"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $('body').live('click', function() { Correction: $(document).on('click', 'body', function() {","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/jirka\/#author"},"creator":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/jirka\/#author"},"datePublished":"2013-01-29T15:05:41+00:00","dateModified":"2013-01-29T15:05:41+00:00"},{"@type":"WebSite","@id":"https:\/\/www.tvarwebu.cz\/blog\/#website","url":"https:\/\/www.tvarwebu.cz\/blog\/","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development","og:type":"article","og:title":"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog","og:description":"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $('body').live('click', function() { Correction: $(document).on('click', 'body', function() {","og:url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/","article:published_time":"2013-01-29T15:05:41+00:00","article:modified_time":"2013-01-29T15:05:41+00:00","twitter:card":"summary_large_image","twitter:title":"jQuery simple-color-picker | Tv\u00e1\u0159 Webu Blog","twitter:description":"We use simpleColorPicker jQuery plugin. We had an issue that function .live() is depricated in jQuery 1.9. We solved it by replacing following line: Line 56: $('body').live('click', function() { Correction: $(document).on('click', 'body', function() {"},"aioseo_meta_data":{"post_id":"59","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-15 07:33:19","updated":"2025-07-15 07:43:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tjQuery simple-color-picker\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tvarwebu.cz\/blog"},{"label":"Uncategorized","link":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/"},{"label":"jQuery simple-color-picker","link":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/jquery-simple-color-picker\/"}],"_links":{"self":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":4,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}