title: onClick button not working javascript/php/jquery mobile
body: <p>Can anyone tell me why this onClick doesnt work? The function is in a separate .js file and has been tested to work fine. I dont get an error - nothing at all happens.</p>
  
  <pre><code>&lt;?php
  blah blah
  $int = 1;
  $listno = 3;
  ?&gt;
  
  &lt;input type="button" onClick="test(&lt;?php echo $int;?&gt;, &lt;?php echo $listno;?&gt;);" data-theme="mybutton" value="&lt;?php echo $name;?&gt;"&gt;
  
  &lt;?php
  ....
  </code></pre>
  
  <p>Do I need script tags here? Sorry if the php bit is a bit wrong I just typed it to show you - the button is the problem. </p>