Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is a prompt box?
#2
(07-06-2017, 10:32 AM)Kajal Wrote: What is a prompt box?


This is Just a same kind of a Java Script Alert Box with a input Textbox ... So client can enter the values into that input box and we can grab that value ...

Code:
var amount = prompt("Enter the Amount You want to Reduce:", "1");

amount : is the varable we use to grab the data client enters in the field .... 

parameter 1 : Any String 
Parameter 2 : Default VAlue
Reply


Messages In This Thread
What is a prompt box? - by Kajal - 07-06-2017, 10:32 AM
RE: What is a prompt box? - by Chamod - 05-31-2018, 10:03 PM
RE: What is a prompt box? - by RH-Calvin - 07-15-2020, 11:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)