I'm trying to pull text from a div created by the "Quotes Collection" plugin/widget in Wordpress in order allow users to tweet it out.
I want to autopopulate the text so I have to grab it.
The code for where the text is located:
<div class="quote">
<div id="quotescollection_randomquote-0" class="quotescollection_randomquote">
<p><q>QUOTE TEXT HERE!</q> </p>
</div>
</div>
I'm trying to get that quote text here out and into a prepopulated tweet. I'm a real neophyte with PHP and how this integrates - I think the likely solution is with jquery and .text() and then trying to append that into the twitter href?
Thanks for any help!!