There is a javascript variable:

var txt = "ABCDEFGHIJK"

I need to, after clicking on the button, in this variable, the letters 'ABEIJ' are replaced by the numbers 3. How can I do this? Tell me.

    1 answer 1

    Choose, maybe, who will offer better options.

    http://jsfiddle.net/n5x9hkvq/

    http://jsfiddle.net/n5x9hkvq/1/

    • The class. Thank. - nick