9 years ago
5
Topic

I have a attachments field and put a onclik him to show me the id of the item clicked, but when I click it brings the wrong id, how do I bring the id of correct item in Annex I clicked ????

Get a VIP membership
178 Posts
Jeka
9 years ago
1
Level 1

Hi.

Please, show some screenshot of what you are doing.

9 years ago
0
Level 2

As you can see in the picture I put an onclick event of the Annex and in that event I am taking the Article ID and in this case would have to appear in the alert ID 32, but he brings the ID 24 which is the id last article on page

178 Posts
Jeka
9 years ago
1
Level 1

Hi.

What field do you use to get value of article id? 

9 years ago
0
Level 2

these ids that are appearing and I need comes from the $ CCK> getValue ('art_id'); It is that I have to pick up when I click on the attachment.

9 years ago
0
Level 1

Solved !!!

Get a VIP membership