Hey
This is a stupid and very noob question but lets say I have something like:
<script type="text/javascript">
/*javascript up here*/
var variable = new object("bla", "morebla");
variable.dosomething("evenmorebla", function(key, value)
{
alert("key is '" + key + "' and value is '" + value + "'");
});
alert ("alert 2 : print and use value on the outside such as here" + value);
/*javascript down here*/
</script>
How can I use/access value in that place where it says alert 2? Thank you very much.