I am try to develop a status box using jquery, so I have a button and when the button gets clicked, the status box will pop up to show message like “button is clicked” and disappear after 10 seconds, but I am not sure how to do it.
I think the code might be like:
<input type="button" id="status" value = "show status box"/>
<script>
$("#status").click(function(){
//not sure what should be inside?
}
</script>
Something like this ?
html
css
and jquery
demo at http://jsfiddle.net/s3fcy/1/