Jquery follow button doesn't works after form subitted


#1

I’ve made this jquery code that should output a text message and submit a form after clicking the twitter follow button.

After click the follow button the text appears on the select div and form1 is submitted… but the follow button is not followed later refresh… if i remove this part of code:

$(’.like-button1’).text(‘Thanks!’);
$(’.form1’).submit();

it works and im followed but the form isnt submitted and thetext doesnt appears…

whats wrong?


#2