Good question... I dunno what is the answer. I'll do some investigation and get back to you if I bump into an good answer. You should email the people at iPage as they probably can answer it..
Another thing is to have the user change all of the ones he wanted then have them push the enable button. sure it will refresh but all of the ones they wanted changed would be done already..
Or, if this is done with querying a db, then you could set it so the very last # they checked would be saved in the POST and then have what giz said with the links, and then have the code go straight to it...
That sounds like what I want to do? I'm just not sure what is going on..
Here is the code I tried (within my table):.
<%pos = rs.Fields("F_NUM").Value%>.
<td> <table border="0" cellspacing="0" cellpadding="0" align="center" valign="center" height="40" width="125" class="button<%if (Server.HTMLEncode(rs.Fields("ENABLED").Value)="False" and Server.HTMLEncode(rs.Fields("FAILED").Value="True")) then %>_dead<%end if %>" style="padding:0,0,0,0">.
<td align="center" bgcolor="#<%=buttonbg%>" class="fault_text" onClick="<% if Session("Using_IOS") and not dead and not (Server.HTMLEncode(rs.Fields("ENABLED").Value)="False" and Server.HTMLEncode(rs.Fields("FAILED").Value="True"))then %>window.navigate('tfis_admin_whole.asp?myco=<% response.write myco %>&Fault_Code=<%=rs.Fields("F_NUM").Value%>&Fault_Number=<%=rs.Fields("FG_CODE").Value%>&name=<%=pos %>')<% end if %>"><font face="Arial" size="5"><%=mybu%></font>.
That code doesn't do anything, but it at least loads the page. I'm not sure where to put the href part in, and how that actually works. Also, I don't know if I put the "a name" part in the right place? I just tried to stick in in the code for the button, so that it would run when the button is pressed. F_NUM is a unique value for each row, so I thought I would use that as my counter (123 in your example)...
The <a name> would go right before each and everyone of you buttons. the name would equal the button id that it is enableing...
Thanks for the help everyone, but I couldn't get the code to work leaving all of it in one file..
I ended up breaking the list up into 12 asp files, with each of the pages displaying 11 records of the 128. Then I was able to add in a row at the bottom of each page to cycle through Next, Previous, Beginning, and End. Then when the user presses Enable/Disable, it Enables or Disables that specific line, and refreshes only that page of 11 records (so it appears to the user that the page isn't refreshing at all - just the button text & color changes). This works okay, but it's bad design, because if I ever have to change something with the way this works, I'll have to change it 12 times (copy/paste might help a little bit)...