{"id":386,"date":"2022-08-30T15:00:29","date_gmt":"2022-08-30T15:00:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/issue-in-jscrollpane-with-jquery-and-prototype-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:00:29","modified_gmt":"2022-08-30T15:00:29","slug":"issue-in-jscrollpane-with-jquery-and-prototype-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/issue-in-jscrollpane-with-jquery-and-prototype-collection-of-common-programming-errors\/","title":{"rendered":"Issue in jscrollpane with jQuery and Prototype-Collection of common programming errors"},"content":{"rendered":"<p>I am using prototype 1.6 and JQuery 1.5.1 with jsrollpane with autoinitialize parameter. I have a page where I populate my form through Ajax and form has two field one text and another textarea. When I hit type any character on the textbox or textarea, it gives javascript error on the console. When I tried to look into the firebug stack, it showed me jquery pass the control to prototypejs. I am also attaching the javascript stack.<\/p>\n<p>parent is null<\/p>\n<p>var parent = element.parentNode, tagName = parent.tagName.toUpperCase();\/\/prototype.js<\/p>\n<p>replace(element=div.jspVerticalBar, content=&#8221;\/\\=\\s*([^'&#8221;]]<em>)\\s<\/em>]\/g&#8221;)protot&#8230;5618099 (line 2475)<\/p>\n<p>_methodized()protot&#8230;5618099 (line 256)<\/p>\n<p>d(a=input#message_subject.textbox, c=div.jspVerticalBar)jQuery&#8230;9681949 (line 16)<\/p>\n<p>d(a=div.jspVerticalBar, b=[input#message_subject.textbox], c=undefined)jQuery&#8230;9681949 (line 16)<\/p>\n<p>d(a=div.jspVerticalBar)jQuery&#8230;9681949 (line 16)<\/p>\n<p>d(a=[div.jspVerticalBar], b=undefined)jQuery&#8230;9681949 (line 16)<\/p>\n<p>ae(aO=Object { originalEvent=Event keydown, type=&#8221;keydown&#8221;, timeStamp=1333007103145, more&#8230;})jquery&#8230;9940130 (line 10)<\/p>\n<p>d(c=Object { originalEvent=Event keydown, type=&#8221;keydown&#8221;, timeStamp=1333007103145, more&#8230;})jQuery&#8230;9681949 (line 16)<\/p>\n<p>d()jQuery&#8230;9681949 (line 16)<\/p>\n<ol>\n<li>\n<p>My problem has been fixed by updating a new version of jquery.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-09 18:41:26. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am using prototype 1.6 and JQuery 1.5.1 with jsrollpane with autoinitialize parameter. I have a page where I populate my form through Ajax and form has two field one text and another textarea. When I hit type any character on the textbox or textarea, it gives javascript error on the console. When I tried [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}