title: How to use javascript variable in iframe src
body: <p>how to write javascript variable in iframe src?</p>
  
  <p>Like </p>
  
  <pre><code>&lt;iframe id="showskill" scrolling="yes" height="350" width ="350" src="http://localhost/POSkill/skillshow.aspx?user_id="+ ReturnURL() &gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Here ReturnURL() is a javascript function which returns a value. But the problem is in the iframe source I'm not getting the returned value of the function. Am I not putting in the right format or missing something?</p>
  
  <p>Thanks in advance
  Johnny</p>