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;
window.opener.document.forms(0).submit()

Thank you
Dawie de VilliersAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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)
0
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:
window.opener.document.forms(0).submit().
i dont know if u still want me to send you my code. Just let me know.
0
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)
http://docs.jquery.com/Ajax/jQuery.ajax

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

thanks.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.