I'm doing a project using jsp,javascript,HTML as front endi need to know how to get pop-up input box using anyone of these and use the value got from the pop-ub input box in my further HTML,javascirptor jsp coding.can any one guide me through this

Questions by vidhya165   answers by vidhya165

Showing Answers 1 - 2 of 2 Answers

Samarasa

  • Aug 16th, 2006
 

Hi ,

  We can get the input box in javascript using following code

 <script language="Javascript">
      var name = prompt("What is your name","Type Name Here");
      alert(name)
</script>

  we can get the entered value in to a variable called "name" .we can use it .


 

  Was this answer useful?  Yes

keke

  • Nov 6th, 2006
 

I need to know how to do a title page for my social studies project.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.