{"id":3546,"date":"2014-05-12T10:41:16","date_gmt":"2014-05-12T08:41:16","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=3546"},"modified":"2014-05-12T10:41:16","modified_gmt":"2014-05-12T08:41:16","slug":"javascript-validation-javascript-jquery-mobile-validation-hata-kontrolu-nasil-yapilir","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/javascript-validation-javascript-jquery-mobile-validation-hata-kontrolu-nasil-yapilir.html","title":{"rendered":"JavaScript validation, javascript jquery mobile validation &#8211; hata kontrol\u00fc nas\u0131l yap\u0131l\u0131r ?"},"content":{"rendered":"<p>Merhabalar jquery ile client site hata kontrol \u00f6rne\u011fini sizler ile payla\u015f\u0131yorum<\/p>\n<p><a href=\"http:\/\/jqueryvalidation.org\/documentation\">http:\/\/jqueryvalidation.org\/documentation<\/a><\/p>\n<p><a href=\"http:\/\/jquery.bassistance.de\/validate\/demo\">http:\/\/jquery.bassistance.de\/validate\/demo<\/a>\/<\/p>\n<p><a href=\"http:\/\/www.elijahmanor.com\/jquery-mobile-form-validation\">http:\/\/www.elijahmanor.com\/jquery-mobile-form-validation<\/a>\/<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/istanbulhs.org\/wp-content\/uploads\/2013\/04\/javascript_logo_unofficial-300x300.png\" alt=\"\" width=\"300\" height=\"300\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&lt;!DOCTYPE html&gt;<br \/>\n&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;meta charset=&#8221;utf-8&#8243;&gt;<br \/>\n&lt;title&gt;Ben bir javascript mobile hata kontrol &#8211; validation \u00f6rne\u011fiyim.&lt;\/title&gt;<br \/>\n&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width, initial-scale=1&#8243;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;http:\/\/code.jquery.com\/mobile\/1.1.0\/jquery.mobile-1.1.0.min.css&#8221; \/&gt;<br \/>\n&lt;script src=&#8221;http:\/\/code.jquery.com\/jquery-1.7.1.min.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;http:\/\/code.jquery.com\/mobile\/1.1.0\/jquery.mobile-1.1.0.min.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;jquery.validate.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;style&gt;<br \/>\nlabel.error {<br \/>\ncolor: red;<br \/>\nfont-size: 16px;<br \/>\nfont-weight: normal;<br \/>\nline-height: 1.4;<br \/>\nmargin-top: 0.5em;<br \/>\nwidth: 100%;<br \/>\nfloat: none;<br \/>\n}<br \/>\n@media screen and (orientation: portrait) {<br \/>\nlabel.error {<br \/>\nmargin-left: 0;<br \/>\ndisplay: block;<br \/>\n}<br \/>\n}<br \/>\n@media screen and (orientation: landscape) {<br \/>\nlabel.error {<br \/>\ndisplay: inline-block;<br \/>\nmargin-left: 22%;<br \/>\n}<br \/>\n}<br \/>\nem {<br \/>\ncolor: red;<br \/>\nfont-weight: bold;<br \/>\npadding-right: .25em;<br \/>\n}<br \/>\n&lt;\/style&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;div id=&#8221;page1&#8243; data-role=&#8221;page&#8221;&gt;<br \/>\n&lt;div data-role=&#8221;header&#8221;&gt;<br \/>\n&lt;h1&gt;Ho\u015fgeldiniz.&lt;\/h1&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div data-role=&#8221;content&#8221;&gt;<br \/>\n&lt;form method=&#8221;GET&#8221;&gt;<br \/>\n&lt;div data-role=&#8221;fieldcontain&#8221;&gt;<br \/>\n&lt;label for=&#8221;email&#8221;&gt;E-Posta:&lt;\/label&gt;<br \/>\n&lt;input type=&#8221;email&#8221; name=&#8221;email&#8221; id=&#8221;email&#8221; \/&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div data-role=&#8221;fieldcontain&#8221;&gt;<br \/>\n&lt;label for=&#8221;password&#8221;&gt;\u015eifre:&lt;\/label&gt;<br \/>\n&lt;input type=&#8221;password&#8221; name=&#8221;password&#8221; id=&#8221;password&#8221; \/&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;input data-role=&#8221;submit&#8221; type=&#8221;submit&#8221; value=&#8221;Giri\u015f Yap&#8221; \/&gt;<br \/>\n&lt;\/form&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;script&gt;<br \/>\n$(&#8216;#page1&#8217;).bind(&#8216;pageinit&#8217;, function(event) {<br \/>\n$(&#8216;form&#8217;).validate({<br \/>\nrules: {<br \/>\nemail: {<br \/>\nrequired: true<br \/>\n},<br \/>\npassword: {<br \/>\nrequired: true<br \/>\n}<br \/>\n}<br \/>\n});<br \/>\n});<br \/>\n&lt;\/script&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>jquery ile hata kontrol\u00fc. mobile jquery ile validation kontrol.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[6,120,128,130,41],"tags":[1103,1139,1246,1321,2185],"class_list":["post-3546","post","type-post","status-publish","format-standard","hentry","category-bilisim-it-haber","category-html","category-java-script","category-jquery-programlama-software","category-programlama-software","tag-hata","tag-html-2","tag-jquery","tag-kontrol","tag-validation","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":2253,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/3546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=3546"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/3546\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=3546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=3546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=3546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}