• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

alerts in javascript

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
Is there ne way that an alert can be closed with some method or without clicking the "OK" button or is there ne way to execute the code follwing the alert without clicking "OK" button or closing the alert??? because as i understand unless we click "OK" the code that follows the alert does not get executed. Does clicking on "OK" reset the server session timeout???

Please help

Thanks
Kaustubh
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"ne" isn't a word in the English language .


Since this question is about Javascript (client side technology) and not JSP, I'm going to move it to our HTML/Javascript forum.

Good-Luck
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kaustubh Hande:
because as i understand unless we click "OK" the code that follows the alert does not get executed.



Clickon the Ok button is the only way to dismiss the alert (short of closing things down). Any code after the alret will be executed.

Does clicking on "OK" reset the server session timeout???



No. This is an entirely client-side activity that has nothing to do with the server.
 
Wanna see my flashlight? How about this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic