I'm trying to help someone be able to capture a visitor's IP address hidden in an order form without the ability to use server-side includes (it's a hosted form and the limitations seem to prevent SSI or languages like PHP). I found a nice short JavaScript code that returns IP without SSI:
Code:
<script type="text/javascript" src="http://l2.io/ip.js"></script>
The problem is that putting the code in the value= winds up displaying the code rather than the IP the code would normally return.
Is there ANY way to put in code that will work inside form input value quotes to make the input value the visitor's IP in this case?