H
H
hedgehogs00eh2020-04-21 10:58:45
JavaScript
hedgehogs00eh, 2020-04-21 10:58:45

What is the syntax error in the script?

I am making a script to automatically send messages to Vkontakte in one dialog. I connected jQuery, I run the script through the console in chrome, it gives a syntax error.

setInterval(function(){
  $("im_editable im-chat-input--text _im_text").val("сообщение 1”);}, 3000);  Ошибку выдает в этой строчке.<img 
  $("im-send-btn im-chat-input--send _im_send im-send-btn_send").click(function(){});
setInterval(function(){
  $("im_editable im-chat-input--text _im_text").val("сообщение 2”);}, 3000);
  $("im-send-btn im-chat-input--send _im_send im-send-btn_send").click(function(){});
}, 3100);
setInterval(function(){
  $("im_editable im-chat-input--text _im_text").val("сообщение 3”);}, 3000);
  $("im-send-btn im-chat-input--send _im_send im-send-btn_send").click(function(){});
}, 3200);


screen:

5e9ea79b24775462272081.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2020-04-21
@Stalker_RED

hedgehogs00eh ,

I don't know how to program at all
probably have to learn. Or hire someone to do the work for you.
And as a matter of fact a question - an error in the wrong quotes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question