Click to See Complete Forum and Search --> : Form/innerhtml/values not resetting.


esiason14
05-18-2007, 11:15 PM
This is killing me.

I have a muli-tabbed form, each with multiple selects. If more than three selections are made across all the tabs...an alert/confirm shows. Clicking "Ok" clears the form and innerhtml (or should). It looks like it does, but if you click "Ok" and then click on another tab and select another player...the values reappear.

Take a look to get a better look at what I'm talking about (http://www.fantasyplaymakers.com/newmlbcompare.php)


Select more than three players from multiple tabs.
Click ok on the prompt (it looks like it resets)
Now click on another tab and select a player
:quiet:

JPnyc
05-19-2007, 12:26 AM
Use a different variable for each, or reset it to 0 onclick of each tab

esiason14
05-19-2007, 01:00 AM
JPnyc, can you give me an example. I've been beating my head agaist the wall trying to get this right.