Jump to content

[SOLVED] Help me


cry of war

Recommended Posts

I have a sequence of 4 option menus i.e. <select> and 4 text area boxes. I am trying to get the code to genrate a funticon and put it back into my web site. I have it set so when something changes in either the text area or option menu it is suppost to update the value in a different area

 

So far i have this for the Java script and this for the

 

function alchwighttotal()
{
alchpw1=((alchiw1)*(port1)+(alchiw2)*(port2)+(alchiw3)*(port3)+(alchiw4)*(port4))/((sqrt(alch)/10)+1);
document.getElementById('alchiw').innerHTML = alchpw1[val];
}

 

And this is a small section of my HTML page

 

<body>
<script type="text/javascript" src="pext.js">
</script>
<br>
Ingredent name:<span id="alchna"></span>
<br>
Distcription:<span id="alchis"></span>
<br>
Ingredent Effect:<span id="alchie"></span>
<br>
Whight of Ingredent:<span id="alchiw"></span>
<br>
Status of potion:<span id="alchps"></span>
<br>
Whight of potion:<span id="alchpw"></span>
<br>
<FORM action="http://somesite.com/prog/someprog" method="post1">
<SELECT onchange="show_alchna1(this.value); show_alchis1(this.value); show_alchie1(this.value); show_alchiw1(this.value); show_alchps1(this.value);" name="ALCHEMY1">

 

 

I would put the whole file in here but its 6000+ lines long for the JS alone and another 1500 or so for the HTML Page

Link to comment
https://forums.phpfreaks.com/topic/59818-solved-help-me/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.