title: Can php detect if javascript is on or not?
body: <p>I have page which created dynamically.</p>
  
  <p>Now I want to add ajax function, so I want to add if statement to change the outputs.</p>
  
  <pre><code>if(js is on){
   ...
   ... 
   echo "js is on";
  }else{
  ...
  echo "js is off";
  }
  </code></pre>
  
  <p>Is there any way I can detect if js is on with php? </p>
  
  <p>Or is there any way I can remove/hide it by jquery?</p>
  
  <p>Thanks in advance.</p>