<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[JS- שינוי button ל input]]></title><description><![CDATA[<p dir="rtl">אני מעוניין לשנות כפתור שהid שלו הוא "size" כתבתי לזה את הקוד הבא שלא עובד.<br />
מחיפוש קצר לא מצאתי כיוון.</p>
<pre><code>document.getElementById(
  "size"
).innerHTML = `&lt;input id="size" type="number" style="background:transparent; border-radius: 5px; color:rgb(0, 0, 0);"
    placeholder="גודל כתב"   size="4"
    style="direction: rtl; text-align: right;"&gt;&lt;/input&gt;`;

</code></pre>
]]></description><link>https://tchumim.com/topic/14369/js-שינוי-button-ל-input</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 19:44:36 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/14369.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Dec 2022 18:31:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to JS- שינוי button ל input on Wed, 21 Dec 2022 19:53:17 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%97%D7%92%D7%99" aria-label="Profile: חגי">@<bdi>חגי</bdi></a> כתב ב<a href="/post/147762">JS- שינוי button ל input</a>:</p>
<blockquote>
<p dir="auto">outerHTML</p>
</blockquote>
<p dir="rtl">זה עבד. תודה.</p>
]]></description><link>https://tchumim.com/post/147763</link><guid isPermaLink="true">https://tchumim.com/post/147763</guid><dc:creator><![CDATA[הפצת אנקי]]></dc:creator><pubDate>Wed, 21 Dec 2022 19:53:17 GMT</pubDate></item><item><title><![CDATA[Reply to JS- שינוי button ל input on Wed, 21 Dec 2022 19:05:49 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%94%D7%A4%D7%A6%D7%AA-%D7%90%D7%A0%D7%A7%D7%99" aria-label="Profile: הפצת-אנקי">@<bdi>הפצת-אנקי</bdi></a> כתב ב<a href="/post/147760">JS- שינוי button ל input</a>:</p>
<blockquote>
<p dir="auto">innerHTML</p>
</blockquote>
<p dir="rtl">אולי תחליף את <code>innerHTML</code> ל-<code>outerHTML</code>, זה עוזר?</p>
]]></description><link>https://tchumim.com/post/147762</link><guid isPermaLink="true">https://tchumim.com/post/147762</guid><dc:creator><![CDATA[חגי]]></dc:creator><pubDate>Wed, 21 Dec 2022 19:05:49 GMT</pubDate></item></channel></rss>