We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Member Online Today; Comma Removal
Topic Started: Jun 11 2013, 04:13 AM (277 Views)
Sheyney Fox
Member Avatar
Member
[ *  * ]
My original post regarding removal of Board Statistics Commas, this has worked wonderfully, thank you Quozzo.

I have since added this Member Online Today and need to request a code for comma removal from this section as well if at all possible.

Your assistance will be muchly appreciated. :D
I used this code and assumed it would remove all the commas in the board statistics but it doesn't. It's odd too, on refreshing page, the commas don't show ..

Code:
 
<script>
$('#stats').html($('#stats').html().replace(/,/g,""))
</script>
Edited by Sheyney Fox, Jun 11 2013, 08:50 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script type="text/javascript">
//<![CDATA[
$(document).ready(function () {
$('#stats').html($('#stats').html().replace(/,/g, ''));
});
//]]>
</script>
Try that instead.
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
Sorry it doesn't seem to work, tried it below the board and above the copyright ...
Edited by Sheyney Fox, Jun 11 2013, 09:18 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
This will work:
Code:
 
<script type="text/javascript">
//<![CDATA[
$(window).load(function () {
$('#stats').html($('#stats').html().replace(/,/g, ''));
});
//]]>
</script>
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
It works, thanks Cory! :wub:
Offline Profile Goto Top
 
Eccentric Feline
Member Avatar
梦想
[ *  *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic