Refresh/ Reload the content of a div using JQuery

Опубликовано: 06 Сентябрь 2024
на канале: Knowledge Thrusters
32k
246

In this video, you will be able to refresh the content of a div without page refresh using jquery

Use jquery load function for the section you want to refresh
inside load, get location of the current url and pass the div or section id you want to refresh

Note: please provide a space between location.href and id of the section
if no space, then it will create a url and will not refresh the div

$(' + "

Refresh div without reloading page
refresh div content without reloading page
Refresh/ Reload the content of a div using JQuery
refresh div after ajax success