I need to be able to pass a variabl to a CF variable or write to a DB in a JavaScript. I've been told the sencond is the easier. So can any help me out? I am going to post some code and the variable "ip" is what I want to post to a single field database. Here is the code:<br>
<br>
<script><br>
<!--<br>
<br>
<br>
MA1=java.net.InetAddress.getLocalHost(); <br>
MA2=java.net.InetAddress.getLocalHost(); <br>
host=MA1.getHostName(); <br>
ip=MA2.getHostAddress();<br>
<br>
<br>
//--><br>
</script><br>
<br>
Can someone help me post "ip" to a database? Any help will be greatly appreciated.<br>
<br>
Thank you in advance,<br>
<br>
Brian Yager<br>
byager@logsa.army.mil
<br>
<script><br>
<!--<br>
<br>
<br>
MA1=java.net.InetAddress.getLocalHost(); <br>
MA2=java.net.InetAddress.getLocalHost(); <br>
host=MA1.getHostName(); <br>
ip=MA2.getHostAddress();<br>
<br>
<br>
//--><br>
</script><br>
<br>
Can someone help me post "ip" to a database? Any help will be greatly appreciated.<br>
<br>
Thank you in advance,<br>
<br>
Brian Yager<br>
byager@logsa.army.mil