i'm using a way to attach between javascript and php and i want to know if there is something better or not.
as example , if i want a text-box value to be changed from 1 to 1000 and display the result everytime
if i used PHP only i have to refresh the page 1000 time !
but i can make a while loop like this
This simple code will make the text value changes from 1 to 1000 without refreshing the page. ...
so do you think this way is good ? or maybe you have other idea
thanks
