How do I get reference of the `<div>` `id` and title from a external JS by using the code below:

```js
function recordedEvent() {    
    var v_Id = $(this).attr('Id');
    var v_Title = $(this).attr('Title');
    var o = { Title : v_Title, ObjectId : v_Id };
    alert(JSON.stringify(o));
}

```

The function is called in the HTML with a `onclick` called `box1()`.

Code in `CplTemplateSetup.js` is where I want to run the function from into the HTML:

```
content_left_30_four_click_images_right_70_head_content_template.html

```

Any help would be appreciated.

---

**P.S.**: [JSON data (*zip archive*)](https://www.dropbox.com/sh/4swbqb0rw6o0cps/AAAJppbNFwC0dI5Dt0xw7a7Pa?dl=0)