Hi
I want to run a bit of Javascript when a popup is opened. The idea is that there is a text input which I want to format when the box is opened and the value is populated from local storage.
I have it working so that when the user enters a number - say 10000 - it adds commas as they type to show 10,000. That works fine. When the user saves, it removes the commas so that the value can be used in calculations. That works too. But if I then click on the link to open the popup with the input, it shows 10000.
I've got the same thing working directly on pages where there are input fields as I just run the Javascript on page open.
I want to be able to do the same on popup open.
Is this possible? The only triggers for the popup are on click and on virtual click.
Regards
Andy