Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

popup using Java,jsp,jquery,javascript

 
senthil kumar paulraj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to display a poupmessage in server when user submits a form
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use complete sentences when posting and describe what you are trying to accomplish.

What do you mean by a popup on the server?
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OP is saying how to display popup to know whether it has successfully updated in DB or not when user submits his data (form).

You can achieve this by Ajax and Manipulating the DOM.
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean with "Manipulating the DOM"? you just need to show an alert.

About the OP's sentence it says literally that he wants to show the popup in the server, which I don't know what it really means.
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Albareto McKenzie wrote:What do you mean with "Manipulating the DOM"? you just need to show an alert.

About the OP's sentence it says literally that he wants to show the popup in the server, which I don't know what it really means.


>> Require a Div
You can make a customized popup make it hidden >> display:none >>on success or failure you can show this message altering z-index.
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, you can reinvent the wheel as much as you want, but I think the simple answer to show a popup client side is just show an alert. You can also use libraries like jQuery or Sencha ExtJS to create the popups.
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Albareto McKenzie wrote:Yep, you can reinvent the wheel as much as you want, but I think the simple answer to show a popup client side is just show an alert. You can also use libraries like jQuery or Sencha ExtJS to create the popups.

I never Like to use JQuery or Prototype for Simple Things.Although Simple Popup sounds to be fine for OP.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arun Giridhar wrote:
Albareto McKenzie wrote:Yep, you can reinvent the wheel as much as you want, but I think the simple answer to show a popup client side is just show an alert. You can also use libraries like jQuery or Sencha ExtJS to create the popups.

I never Like to use JQuery or Prototype for Simple Things.Although Simple Popup sounds to be fine for OP.

Very little is simple anymore on the client. Using a well-known library rather than re-inventing the wheel is a sound approach.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic