Trigger FlashMessage Inline

J

JesseUCAVedYou

Guest
Member
I've got a short javascript code that copies an ip address based off of the contents of a query selector. In the script is an alert that notifies the user that the IP was copied. I'd like to replace the standard javascript alert with a flashalert instead to better suit the style of the site. What could I do to achieve this?

Code:

<a href="#" data-xf-init="tooltip" onclick="copyIP.call(this)" data-server-ip-copy="0.0.0.0:1234" data-original-title="Copy IP Address" id="js-XFUniqueId1">...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    N @ NathanGaming093: how to download ?
    Top