Hello. The person wants the visitor to fill out the data form (name, phone, category, and all sorts of things) and only after he has sent this form should a large, bright link to the payment be opened to him. How can this be implemented?

ps no, I do not ask for a ready-made solution, I ask you to indicate in which direction to dig.

  • At what stage did the difficulties arise? - dlarchikov
  • No stages. I just do not know where to start. I would like no scripts, of course, but I'm not sure that this will happen. And I don't know how. Just the condition: “after 100% of the form is submitted”, that is, there must be some kind of click, and the layout doesn’t implement this. Or? .. - Anna Frank

1 answer 1

Documentation: jQuery.ajax ()

// Отправка данных $.ajax({ type: "POST", url: "some.php", data: { name: "John", location: "Boston" } }) // Данные отправлены (ответ сервера 200) .done(function( msg ) { alert( "Data Saved: " + msg ); });