• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to Pass pop up javascript values to another page

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

My requirement is that upon clicking on a Hyperlink on a database Table name , i need to open up a pop up jsp displaying all the column names of that Table as TextFields
so for this i had done :



Above code works fine , i am able to get all the column names of a Table and display it on a pop up jsp as TextFields

------------

Now when the user enters values on to the displayed TextFields and clicks the submit button , i am capturing the column names and values in a function.





Please tell me how can i send all these values to anther page

i don't know how to proceed.


waiting for your replies .

Thank you .
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ravi Kiran Varre wrote:
Please tell me how can i send all these values to anther page



another page ?? you mean from popup window to parent page ? if yes google for "window.opener"
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi seeta , thanks for responding . But may be you have misunderstood my question .


I am able to capture the column name and column value in a script function as i said

Now how can i store all the Column Names and its related values and need to send it to another page .

Thanks in advance .
 
Sheriff
Posts: 67645
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
Please take the time to choose the correct forum for your posts. You've been around long enough to know the difference between JSP and JavaScript. For more information, please read this.

This post has been moved to a more appropriate forum.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey Bear , i was expecting an answer from you actually .

Please share some suggestions on how to complete the Task.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ravi Kiran Varre wrote:hey Bear , i was expecting an answer from you actually .

Please share some suggestions on how to complete the Task.



It is not Bear's responsibility to answer your question. A moderator/sheriff's purpose is to make sure the forum runs smoothly and NOT to answer everything in sight[ which he normally does anyway.]


Eric
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As asked by another rancher, what is the OTHER page? Better details = better answers.

Eric
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is another JSP .In that JSP page i need to gather each of the column and its value and insert them into database.

After extracting column name and its value ,is there anything i can do like this



obj.put("columnname ","columnvalue ")

and send this Object to that jsp. Or please tell me if there is any better solution

Thanks Eric .
 
reply
    Bookmark Topic Watch Topic
  • New Topic