Younger brother, I have a simple query. I want to jump out of a window after clicking query and display the query results in the window.
Source: Internet
Author: User
I have a simple query. I want to jump out of a window after clicking query. the query result is displayed in the window, such as the title. I don't know how to display it? This is js. can someone tell me? & lt; formaction = & quot; method = & quot; post & quot; & gt; I have a simple query. I want to jump out of a window after clicking query and display the query results in the window.
The question is like the title. I don't know how to display it? This uses js. Can someone give me some advice?
------ Solution --------------------
Script
Function openWin (){
Var v = document. getElementsByName ('bianhao') [0]. value;
Window. open ('D. php? Id = '+ v, 'newwindow', 'height = 100, width = 400'); // assume that the new window is d. php.
Return false;
}
Script
..................
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.