Posts by Rafael Macedo • 56 points
4 posts
-
0
votes1
answer1295
viewsA: Swap image src with PHP / HTML variable
You can do it the way you thought, but you’d need to use php and javascript to make asynchronous requests. A simpler way I see to do this is by using only javascript itself. Initially you need…
-
0
votes1
answer127
viewsA: Expand <div> and call other content asynchronously
You can even do asynchronous, but most of the time it’s not necessary. Usually this is done by leaving a div hidden that by clicking on the div that has the title you show or hide it depending on…
-
3
votes2
answers788
viewsA: Know when you hear changes in DIV with Javascript
Very easy, my dear friend. Especially with Jquery! Follow the step by step: Take the html from the first div Take the html of the second div Compare the two Simple as that!! Now in practice it would…
-
1
votes1
answer116
viewsA: Send notification to online users within the system
I’ve also been there trying to implement a feature that changes the front end in real time. What I was able to find interesting to solve this problem was about sockets. Since you have the PHP tags…