addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [newtech-1] javascript question "document.write"

From: Daniel H.
Sent on: Tuesday, October 25, 2011 2:50 PM
sounds like if you have someone familiar with JQuery, then this would be a pretty trivial thing to do...

On Tue, Oct 25, 2011 at 2:30 PM, Anthony Zeoli <[address removed]> wrote:
Hey everyone:

I've got a question for some javascript folks here.

We wrote a script that reads the Post Tags entered into a WordPress Tags post-meta box, before those tags are written to the database. We can read the tags on the page that are output by AJAX. That's as far as we've gotten. Since the WordPress does not store the tags until the post is published, we're not able to use php to get_tags, display them, and give the user the ability to select a primary tag.

We are using document.write to try and reprint those tags into another meta-box, so that the author can then select a primary tag, from all tags.

WordPress doesn't seem to like the document.write element after we use .ready when all the Tags are loaded.

Any suggestions as to how to read tags that are output by AJAX, then reprint them somewhere else?

Tony Zeoli, Founder
WordPress | Digital Strategy | IA & UxD
✉ [address removed] | Visit Our Site

My profiles: Facebook Twitter LinkedIn
Contact me: Google Talk djtonyz Skype tonyzeoli

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Anthony Zeoli ([address removed]) from NY Tech Meetup.
To learn more about Anthony Zeoli, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy