Are you looking to collection user input instead of just popping up an alert box? If so, you want the javascript "prompt" method instead:
var strUserValue = prompt("Enter a value");
Please remember however that the result of that user prompt is not available directly back at the server side.
-
Peter