I am working on a project that requires text boxes to be dynamically generated. the problem that I am running into is these text boxes must also have a datalist generated by a database. these tasks on their own are fairly easy but to accomplish both I have to call a php function within my javascript. does anyone know how to call a php function with javascript?