title: How to pass the javascript variable value to php variable?
body: <p>this is my javascript code</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function MyFunc(lang){
      var ll = lang;              
      //alert(ll);
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>my html code</p>
  
  <pre><code>&lt;form  method="post" action="mypage.php?&gt;"&gt;
     &lt;div&gt;    
      &lt;input type='image' src='/images/flags/us.png' name='US' value='en_EN' onclick='MyFunc(this.value)'/&gt;   
  &lt;input type='image' src='/images/flags/it.png' name='IT' value='it_IT' onclick='MyFunc(this.value)'/&gt; 
  &lt;input type='image' src='/images/flags/fr.png' name='FR' value='fr_FR' onclick='MyFunc(this.value)'/&gt; 
      &lt;/div&gt;
  </code></pre>
  
  <p>now how can i send the javascript <code>var ll</code> value to <em>mypage.php</em> </p>
  
  <p>Actually I want the image alt value to pass it, How it is possible please give some idea..</p>