• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 641
  • Last Modified:

Update Popup Opener without postpack

I would like to update a popup opener without sending a postback on the window.opener.
Right now im doing it like the code below but its causing some problems on my window.opener when i postback. So i want to assign a value to txtAccount without a postback on the opener, something like AJAX. im failing to apply it in this senario.
opener.document.getElementById("txtAccount").value = value1;

Thank you
Dawie de Villiers
Dawie de Villiers
  • 2
1 Solution
James LooneySr. Programmer/AnalystCommented:
please post the code for the page that is the parent page and the code for the child page. Also post any javascript errors you are seeing in the browser (if using IE, look for the little yellow icon in bottom left of window)
Dawie de VilliersAuthor Commented:
Its not giving error messages, its just the behaviour that i dont like, the flickering, i have seen other web apps  which dont use postback on updating the opener, sort of ajax updating. It this line which i dont like:
i dont know if u still want me to send you my code. Just let me know.
James LooneySr. Programmer/AnalystCommented:
I would recommend looking at the jQuery javascript library (http://jquery.com/) for implementing an ajax solution. I use their library for ajax, screen effect, user interface - all kinds of stuff.

Here is the ajax API: http://docs.jquery.com/Ajax

And here are great examples and overview of using ajax in jquery (examples should help you build a function to submit the form in your parent window)

If you need specific help, you'd have to post all your code here.


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now