title: Assigning textbox value to php variable without using form
body: <p>I want to retrieve textbox value and assign it to php variable but without using form. I am doing search functionality in which i want to hide some contents on button click and and on the same click want searching function but if i use form then either it will redirect to another page or again reload the page which i don't want.</p>
  
  <p>So i want some another method for this.</p>