Check only last page
3 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Check only last page
First topic message reminder :
Is there a way to look for last post in the thread with jQuery even I am on the first page? In my case, Let's assume I am on any page but last, could I gather info from truly last post in that thread which can be 10 pages ahead? And if it is possible, how can I get access to the info of last post?
Is there a way to look for last post in the thread with jQuery even I am on the first page? In my case, Let's assume I am on any page but last, could I gather info from truly last post in that thread which can be 10 pages ahead? And if it is possible, how can I get access to the info of last post?
Last edited by The Raven on August 9th 2023, 11:05 am; edited 1 time in total
Guest- Guest
Re: Check only last page
In this line, you've mixed two languages - JS and jQuery
If you want to use JS, write
If you want to use jQuery:
- Code:
$("#oldTopic").style.disply = 'block';
If you want to use JS, write
- Code:
document.querySelector("#oldTopic").style.disply = 'block';
If you want to use jQuery:
- Code:
$("#oldTopic").css("display", "block");
Razor12345- Support Moderator
- Posts : 1586
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine
Re: Check only last page
Awesome, this works like a charm. Thank you so much! You can make tutorial on this for others because it is very helpful.
Guest- Guest
Razor12345- Support Moderator
- Posts : 1586
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine
Page 2 of 2 • 1, 2
Similar topics
» VPS check
» How Do I check IPs?
» IP check
» User Cannot Scroll Page + Sudden Page Format Change
» Can someone please check this part of my css code?
» How Do I check IPs?
» IP check
» User Cannot Scroll Page + Sudden Page Format Change
» Can someone please check this part of my css code?
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum