Trigger FlashMessage Inline

Status
This content is read-only, or is not open for further replies.

JesseUCAVedYou

Guest
offline
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"> <span...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom