Cloning a page and event on click.

Cloning a page and event on click.

Hi, I am trying to clone a page, change the require ID's etc, then have one of the links call a function.

I have include a brief example in this fiddle -  https://jsfiddle.net/vs2jfqaa/17/

But I can't seem to get it the ID that is changed to (btnDuplicate_2) to do anything?

Thanks in advance,