I have inherited a site, that users sometimes want to ping a server.
http://dnndev.com/fiddle/fid/775
I have the javascript in the top of my form, and SQL passing in the IP address in a correct format
http://dnndev.com/fiddle/fid/776
However the function never gets called, I have added a simple Alert ('Hello') into the code and this never fires.
How should I set up JavaScriptt code, and where should I place it, to make sure it fires?