Getting the id of active div

  •  06-24-2008, 12:38 AM

    Getting the id of active div


    I have a few layers (divs) with borders in the editor. If a user selects a div by clicking on the border, I need to get the id of the div. I will be adding a custom button to customize the div's attributes. How can I get a reference to the selected div?  Can editor1.GetSelection() be used?
     
    I am not changing the contents of the div but rather some attributes of the div like its top and left positions.
     
    Thanks.
View Complete Thread