This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create a warning pop up?

 
gaurav kumawat
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
please tell me that how can i use a pop up on certain event.
Like when i click on "cancel" button i want that it should display a warning message....i.e.,
"Are you sure you want to delete it?"
Button-"Yes" "No"
Check Box() "Dont show this message again"


that is my problem..
please give me idea...
thanks in advance...
[ July 31, 2006: Message edited by: Bear Bibeault ]
 
amit sharma
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it with javascript
In javascript there is confirm keyword .You can use it .Sample code is
var message="Do you want to delete it.";
if(confirm(message))
{
write your code when user press ok
}
else
{
write your code when user press no
}
Thanks
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
try the following link....

pop up
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic