T
T
ThreegunD2018-02-01 14:30:11
JavaScript
ThreegunD, 2018-02-01 14:30:11

Change text after loading html part?

The bottom line is that you need to rename the menu item from "Item1" to "Item2".
But "Point1" appears only when you move the mouse over "button1" (and it will appear for about 1-2s). Moreover, it is generated on the fly (there is no hidden element).

The essence of the algorithm is as follows:
1.Hover the cursor over "button1" 2.After 1-2s, "Point1"
appears
3.When "Point1" appears, we catch this event and $('#punkt1').html(Point2).
Is there an event that will catch the readiness of the element (item 2 in the algorithm) to work with it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2018-02-01
@ThreegunD

like this?
https://jsfiddle.net/cqvaquge/3/
https://jsfiddle.net/cqvaquge/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question