A
A
alexdjigil2018-04-04 14:06:10
JavaScript
alexdjigil, 2018-04-04 14:06:10

Accessing objects in js?

For the first time I came across the fact that you need to refer from HTML to an object in js.
An object in the form of a button, the object is declared in js, but I can’t find anywhere how to access it from HTML. Those. as a matter of fact in html I describe action at clicking on object...
In general such it is possible? Or do you need a separate script?
washes who faced similar?
I can show you with a concrete example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Demidenko, 2018-04-04
@detriat

If I understood you correctly
https://jsfiddle.net/r20n9s7u/5/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question