Jump to content

Getting the value of a cloned div


cve60069

Recommended Posts

Hello I am trying to select a cloned div and return its index value and I attach an HTML showing a page that I want to edit. Click on the line and an editor pops out. Create a few lines and the page updates in real-time. Now I want to select a line on the page and get its cloned index. I have written a jquery (last line of code) that returns the index value but it will not work on a cloned div. It always returns 0 Any hints please. I attach the HTML. I wrote it using Notepad. Regards paragraph v2.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...