Posted in : JSP-Servlet
July 14, 2010 at 4:36 PM
You have used the function prompt() in a wrong way. It has not been used like that.
Use the following code:
var reason=prompt("Reason for deleting:","");
Related Tutorials/Questions & Answers:
Thanks... Hi Friend,
In my project if i use a
after confirm the delete option ,its not invoking the prompt()...So please help me..
Thanks for your post,but when i write
Thanks for posting an answer, its working fine .Sir how to get the text what we have entered in a prompt(reason).I need that reason to be displayed one next delete.jsp page so how to get
In this tutorial, you will learn how to generate a textbox on button click
button with respect to each textbox, it will give
I have a form in HTML that contains text feilds... me.
In this section, you will learn how to change the background of textbox. Here
we have created a textbox and allowed the user to enter the valid name. If the
entered name is 'roseindia
thanks in advance
date in textbox on page load
date in textbox on page load i want to insret the current date in textbox but this code dosen't work and the value of text box will be blank
Dynamically adding textbox and labels
Dynamically adding textbox and labels Sir,
In my application I want to insert texbox and labels dynamically and want to insert database field value in that generated label.
Plz help me,
Thanks in advance
retaining textbox values
retaining textbox values i have a calculator program, when i press a button the value displays but disappears when i press another button so how can i keep values to display when i press multiple buttons
listbox and textbox validations
listbox and textbox validations hi,
any one please tell me how to set validations for listbox and textboxes using bean classes?
Please visit the following link:
Sql Server 2008 with textbox
Sql Server 2008 with textbox **Hi, I tried to insert into DB using textbox in a form using vb by visual studio 2010 but its always catch an error
[Cannot open database "4" requested by the login. The login failed.