Random Quote Generator Help with tweet

Random Quote Generator Help with tweet
0

#1

Here is my random quote generator,

When i get some quotes, and click the tweet icon, it open one tweet per quote generated, can someone help me?


#2

I’m not sure but I think it would help if what you inserted in the tweet is the inner html and not json.quoteText.

It might be easier if you actually create a variable and pass that variable to your tweet url.


#3

Thank you, i think i´ve solver it, instead of using a onclick event, using href attr. :wink: