Hi, I just began to delevop a forum, and met a problem, i can't send the parameter which sends the number of the link the user clicked to my procedure. The called procedure is used to show 7 records for the page number given as parameter. This is my code : sub getPageLinks() dim NbMsg, counter, NbPages NbMsg = getMessageCount("Nbr") If (NbMsg Mod 7) > 0 Then NbPages = CInt(NbMsg / 7) + 1 End If response.write("<div id='pagelinks'>") for counter=1 to NbPages %> <a href=# onclick=<%call getRecords(counter)%>><%=counter%></a> '!!!!! Problem <% next response.write("</div>") end sub There is a problem on the 'onclick', this doesn't accept the variable 'counter'. How can i solve this ?! Thank you !!!
We're an internationally orientated board but English posts do tend to get more replies... Add to that, us mods can't read what you wrote so we don't know whether it's spam or not.
Sorry for this, i just post the same msg on a french forum and didn't pay attention. I posted it again in english Sorry