Tell me please, did you have such that with the use of handlebars js some javascript elements did not work on your client? I do not want to take values from the field using either jQuery or pure javascript.
Closed due to the fact that the question is too general for the participants Dmitriy Simushev , Kromster , zRrr , cheops , user194374 Jun 25 '16 at 5:11 .
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
1 answer
Handlebars nothing to do with. Its main task (like any other template engine) is to convert your template and data into a markup string. What you will do with this line is then up to you.
As a result, Handlebars has nothing to do with the DOM, so it cannot influence your form elements at all. Looking for a problem somewhere else.
- after using it, there was such a problem (or maybe where another atupiv) - using getElementById (). value or $ (''). val () I get an empty ribbon. What could be the problem? - Volodymyr
- In anything, but certainly not in the very handlebars. I think you first need to create a minimum reproducible example and gradually localize your problem. Otherwise, this is all fortune telling on the coffee grounds - Dmitriy Simushev
|