javascript not working on iPhone
<p>I have the following javascript in my index file but its not showing for iPhone</p>

<pre><code>onComplete: function()
{
  var video_id = $('#video_id').val();
  if(video_id == 1){

    $("#TB_window").remove();
    $("body").append("&lt;div id='TB_window'&gt;&lt;/div&gt;");
    tb_show("","#TB_inline?height=500&amp;width=750&amp;inlineId=hiddenModalTest&amp;modal=false","");

  }else if(video_id == 2){

    $("#TB_window").remove();
    $("body").append("&lt;div id='TB_window'&gt;&lt;/div&gt;");
    tb_show("","#TB_inline?height=500&amp;width=750&amp;inlineId=hiddenModalEvaluation&amp;modal=false","");
  }
}
</code></pre>

<p>Is there a way to make it iPhone compatible ?</p>
