Hello All,
I have a problem with my tweet button - it just doesn’t pass a quote in. Could you please review what might be the problem?
Hello All,
I have a problem with my tweet button - it just doesn’t pass a quote in. Could you please review what might be the problem?
First, you misspelled quote on line #14. Second, you need to move tweetQuote
variable inside the event handler before window.open
, so you get the text content when you click on the tweet button, not when you load the page.
Thank you! it works perfectly now!