+ 3
How to change the content of a webpage dynamically
for example in facebook when i logij with my account my profile pic my name etc are displayed. is there any language used separately other than javascript and php i know that php is used to retrieve data from data base and java script is used to change the content dynamically how php and javascript work together to change the content based on the login credentials... Thanks in advance āŗ
3 Answers
+ 3
Ajax!
It stands for asynchronous Javascript and XML. It can retrieve content from database without refreshing the page.
It is one of the reason jquery is great as it make ajax requests much easier!
+ 3
Here a simple example how Javascript change PHP page data
https://code.sololearn.com/w8vygVE7LK2Q/?ref=app
+ 2
thank you dude