• Resolved jimario

    (@jimario)


    I’m having difficulty adding an onClick event when a thumbnail is clicked. I’m trying to get a thumb’s title/alt and then populate that into a text field. My onClick code is:

    onclick="document.getElementById('paintingtitle').value='<?php echo $image_row->alt; ?>';"

    whereas ‘paintingtitle’ is the ID of the text field I’m trying to populate. I’m editing the BGWViewThumbnails.php file but I’m having trouble getting it to work.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Hi,

    We are terribly sorry for the inconvenience.

    Could we have a closer look at the described issues? Please contact our support team using this form (select “I have a pre-sales question” and the form will appear).

    Please, mention the URL of this forum topic in your message. We will provide a solution as soon as possible and share it here as well.

    Thanks. Have a nice day

Viewing 1 replies (of 1 total)
  • The topic ‘onClick event’ is closed to new replies.