aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes JSP page not showing alert box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JSP page not showing alert box" Watch "JSP page not showing alert box" New topic
Author

JSP page not showing alert box

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
i have created this page from a website but this still not showing alert box





thanks in advance
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Where are you showing the alert??


Swastik
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
its alert box as soon as we click on the submit button it will show an alert box

check this

http://www.sislands.com/coin70/week4/chkBoxTest.htm
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Where are you calling the alert method in your code?
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
sorry but i couldnot get you

can you tell me what exactly you want to ask

please

thanku
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

To show an alert you need to call the window.alert method.

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
k thanks it means i was just calling alert functin but not mentioning where

thank you but i also dont know about this function thanks for telling me
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

Please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP. For more information, please click this link ⇒ CarefullyChooseOneForum.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
looks fine to me: http://jsbin.com/acube4/edit

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP page not showing alert box