Hello.

I'm wondering if anyone has knowledge or a code that will refresh a script without a full page load. Just a widget/box on a site.

What I have is a script which displays random posts in wordpress. Just calls 5 posts from the database with a simple random call. What I would want is to have a button/image that when clicked the random call is executed again without a full page load. Any clues?

Thanks,
Chris

Thanks very much. This is just what I was looking for.

:)

Member Avatar for rajarajan2017

Welcome! Please mark the thread as solved if no more doubts in that!. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.