Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Breaking apart text Re: Breaking apart text

#60393
BigBrotherBiggs
Participant

I am using a CMS called Business Catalyst. it is great for guys like me that have a hard time working with php.

When i create an announcement in the announcement module. i enter a date by picking it from a date picker (much like a mini calendar)

then i tell the system where i want that Date to be displayed. the system tag I sue for this is

Code:
{tag_postdate}

When the page is rendered in a browser it shows 20-Jul-2009 or what ever date was entered.

All I want to do is take that tag ans strip away the unwanted text. In one case i just want the day and in another case i just want the month. the year is not important to me.

i had some help from a user here who was able to pull some numbers out of a tag and insert it into a new field using jQuery. I am not sure how he did it.