I'm new to Web development, usually I'm used to software development but studying web development confuses me a lot. please forgive my newbie question
What I'm trying to do is test every domain that is inside my array(dMains) so that every domain can be checked by the script since the goal is to make it work for every domain. Hope u guys can help me thanks a lot.
<!DOCTYPE html>
<html>
<body onload="loopdMains()">
<script>history.pushState('', '', '/')</script>
<script>
var dMains=["my.firstdomain.com","my.seconddomain.com"];
function loopdMains()
{
for(var i=0;i<dMains.length;i++)
{
<form action=(i) method="POST">
<input type="hidden" name="type" value="excl" />
<input type="hidden" name="action" value="update" />
<input type="hidden" name="period" value="1" />
}
}
</script>
</body>
</html>