Answer the question
In order to leave comments, you need to log in
js. How to distinguish incoming records to a script?
There are several identical blocks on different pages - but they all refer to the same script, there are practically no differences in layout, except that somewhere there is a button, somewhere it is different, somewhere it does not exist at all.
id in the blocks is busy, we can say that it is the same too.
Is it normal practice to add a class to each of the pages , say:
on 1 page -<div>
<div>
<div class="(стд.набор классов) .. firstPageElement">
<div class="(стд.набор классов) .. secondPageElement">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question