i have a problem with my link,

in one page there are 2 forms, form input and form edit, i want to show form input and edit in different time, so i write link script, ..a href="index.php?id=1".., its works, but when i united with "javascript:void(0)", it can't works. can anybody help me?