GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP

 Print  |  
Question:  I'm doing a project using jsp,javascript,HTML as front end

i 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




August 08, 2006 03:16:35 #1
 Samarasa   Member Since: August 2006    Total Comments: 1 

RE: I'm doing a project using jsp,javascript,HTML as f...
 

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 .


 

     

 

Back To Question