Using JavaScript how do I pass a value from a parent form to a child form?
I have tried numerous things to no avail. What I am trying to do sounds simple...ASP.NET 2.0. A person enters data in 1 field. I then want them to click a button, this opens a form using window.op开发者_如何学JAVAen whereby the data they entered should be display.
All the examples I find are either incomplete or go from child to parent instead of parent to child.
append this info to the querystring in your window.open logic then pull that data out of the querystring when the child page loads via javascript or serverside scripting.
jquery querystring plugin
http://plugins.jquery.com/project/query-object
精彩评论