-->
Page 1 of 1

Dynamic Web Page Help <SOLVED>

PostPosted: Mon Dec 28, 2015 11:04 pm
by forlotto
I am trying to create a dynamic web page that would insert the IP into the page where the IP is called in the code below:

EDIT UPDATED CODE TO REFLECT THE CHANGE!!!
Code: Select all</script>
<script language="JavaScript"> IP = prompt("Please enter IP of Device", "");
document.write("<p></p>Page is now custom for " + IP + ", Enjoy.");
</script>


I am not sure exactly where I am going wrong with the syntax or if I need to declare the value as an html variable and then work from there or what needs to be done ...

Any help would be appreciated!

Thanks