{"id":306,"date":"2022-08-30T14:59:09","date_gmt":"2022-08-30T14:59:09","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/10\/06\/problem-about-onchange-record-and-share-programming-errors\/"},"modified":"2022-08-30T14:59:09","modified_gmt":"2022-08-30T14:59:09","slug":"problem-about-onchange-record-and-share-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-onchange-record-and-share-programming-errors\/","title":{"rendered":"problem about onchange-Record and share programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3ce5796e96d2ab626b9e3d52065a060b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNicky Anne Smith<br \/>\nphp javascript mysql drop-down-menu onchange<br \/>\nI have searched high and low for a resolution to this bus have not been able to work it out. I managed to get this to work when I wanted a dynamic drop down to adjust the values in a second drop down and fill in a text value in a text box.Now I want to cut out the second step: ie. I actually want to get rid of the second drop down and simply enter a value in the text box. I have tried everything to remove the second step but as soon as I do everything stops working.At the moment the function looks at the second drop down and sets the options for it and I added the line document.getElementById(&#8216;fld_ClientI<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e9b2f000a6ae6b518d1a0976980b3cbb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAdam<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/876a80776de54e8e94b9ebc2b4955865?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGricha<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cf58f992686fa03d93d8d41dbaf00a38?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHachi<br \/>\njavascript input undefined onchange<br \/>\nTo make a text &#8220;editable&#8221; I&#8217;ve written a function, which replaces the text with an input-element (step1) and later (onchange) replaces the text with the value of the input-element (step2)this works except the following scenario: if the input-element is active (step1 of the precedure) and I click in the input-element, the text (in the input-element) is replaced with &#8220;undefined&#8221; and the function doesn&#8217;t work properly any more Test<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-10-06 02:00:10. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Nicky Anne Smith php javascript mysql drop-down-menu onchange I have searched high and low for a resolution to this bus have not been able to work it out. I managed to get this to work when I wanted a dynamic drop down to adjust the values in a second drop down and fill in a [&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-306","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/306","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=306"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}