Answer the question
In order to leave comments, you need to log in
How to display certain content when receiving a certain value?
onSelect: function(suggestion) {
console.log(suggestion);
$('.md-type').text(suggestion.data.type); // возвращает LEGAL или INDIVIDUAL
}
Answer the question
In order to leave comments, you need to log in
For example draw 2 blocks and hide them. And the script should be written like
another option - to do the upload by passing the parameter to the server with Ajax. In general, there are not many solutions. Up to if else. This is the first thing that came to mind.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question