Useful code

but what you're going to want to do is use a form with <input type="submit" name="mysubmit" value="Click!" />
11:36 PM
Michael
and then add an onClick="<script>        document.getElementById('bb').style.display='block';</script>"
and have a default for the 'bb' div be to be set to hide
me
ok i'll take a look at it
Michael
i think that should work
and if you don't want to do a submit button
me
because i might show it to someone tomorrow morning
Michael
there are other ways
me
ok cool, thanks!
Michael
yea you want to use an onClick thing
11:39 PM
Michael
and presumably people will input their id in there under the presumption that you won't give them money
if they don't
11:40 PM
me
ok great, thanks
11:41 PM
Michael
ah
sorry
you should use a button
not a submit
submit will want an action so that you can go to the next page
whereas a button can just interact with the extant page
and then you can pipe in the javascript in some html
Comments