<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Deba1995</title>
    <description>The latest articles on DEV Community by Deba1995 (@deba1995).</description>
    <link>https://dev.to/deba1995</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F277810%2F28989425-2024-41b3-850d-13db6ac27ada.png</url>
      <title>DEV Community: Deba1995</title>
      <link>https://dev.to/deba1995</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deba1995"/>
    <language>en</language>
    <item>
      <title>Radio button selecting multiple buttons sometimes</title>
      <dc:creator>Deba1995</dc:creator>
      <pubDate>Fri, 22 Nov 2019 23:14:46 +0000</pubDate>
      <link>https://dev.to/deba1995/radio-button-selecting-multiple-buttons-sometimes-15gi</link>
      <guid>https://dev.to/deba1995/radio-button-selecting-multiple-buttons-sometimes-15gi</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nfpfhxRD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-7a8ef189e4f15e79cc8edc0cd3cff97b77dbaf61e8d5bee3c7507ace7d776b83.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/59000798/my-problem-is-if-i-select-more-than-one-radio-button-sometimes-both-value-gets-s" rel="noopener noreferrer"&gt;
               My problem is if I select more than one radio button sometimes both value gets stored. Why?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Nov 22 '19&lt;/span&gt;
            &lt;span&gt;Comments: 3&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/59000798/my-problem-is-if-i-select-more-than-one-radio-button-sometimes-both-value-gets-s" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---Gu-KklO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-d310ac55a57f00b74b1303a08e0f2e3cdea8fea5989fa5d70f506008aa86428b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          -4
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nOzY64sa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-fd895e09c6a93e39464cad43d727a293eae44c7228c087e86d478214a271c794.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;div class="snippet" data-lang="js"&gt;
&lt;div class="snippet-code"&gt;
&lt;pre class="snippet-code-js lang-js prettyprint-override"&gt;&lt;code&gt;&amp;lt;script type="text/javascript"&amp;gt;   
   function ajax_value_save(id){
    if (document.getElementById('a').checked) {
     var  rate_value = document.getElementById('a').value;
    }
  else if (document.getElementById('b').checked) {
     var  rate_value = document.getElementById('b').value;
    }
    else if (document.getElementById('c').checked) {
     var  rate_value = document.getElementById('c').value;
    } 
  else if (document.getElementById('d').checked) {
   var  rate_value = document.getElementById('d').value;
  }   
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.onreadystatechange&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/59000798/my-problem-is-if-i-select-more-than-one-radio-button-sometimes-both-value-gets-s" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
