![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 139
Rep Power: 4
![]() |
I'm desiging a site and need the user to push a button and have an image change
my logic is: the image src is a varibale that when the button is pushed the variable is incremented what is wrong with my code. The sub nxt_OnClick() is not working <% Dim x x=1 nxt_OnClick(x) sub nxt_OnClick(y) y = y + 1 response.write y end sub %> <html> <body> <form name = "f1" > <input type= "button" name= "nxt" id= "nxt" value= "nxt" > </form> </body> </html> |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|