? Document.getselection (). toString ():d ocument.selection.createRange (). text;
if (stext!= "") {
Passing parameters to the callback function fn
FN (stext, target);
}
}
}
}
/*]]select=*/
function Tanchu (Txt,tar) {
Alert ("The text belongs to the +tar.tagname+ element, and the selection is:" +txt);
}
See the original author: http://momomolice.com/wordpress/archives/420.html
Attach: Code that only gets the selected text (does not respond
(typeof handle[pathname] = = ' function ') {
return Handle[pathname] ();
} else {
Console.log ("No request handler found for" + pathname);
Return "404 Not Found";
}
}
Exports.route=route;
As the above code shows, we also return some related error messages when the request cannot be routed.Finally, we need to refactor our server.js so that it can respond to the browser by asking for the content returned by the request route,
Operation Win7 64-bit flagship ISO friends will find that many times, we run some program files, open a file will be a problem, not very fluent, such as we sometimes double-click on a computer to open a program, but found that the program is not open, sometimes we double-click to open a file, Also found that the file is unreadable, of course, we discuss the premise of the problem is that we open the program and the file is no problem, then encounter such a failure, we have to do? Below, the smal
Win7 system is very easy to get stuck, this problem should be used by the Win7 system people often encounter it? Even sometimes in the use of the browser will also encounter the program is not responding to the situation, then the Win7 program does not respond to how to solve it?
The first step, in the menu to find attachment options, some may directly open the menu can be seen, and some may want to click on the bottom of all the program to see!
1, the newly bought U disk plug computer did not respond, whether it's a front chassis or a USB port behind the chassis, consider the reason there are two points, one is the U disk is bad, this situation is relatively small, because the formal manufacturer in the U disk production will be tested once, unless you buy fake products. The second is the U disk is not loaded by the computer, you can plug in the U disk to restart the computer or use Disk Man
1, we login in the QQ panel click below, in the QQ landing after the main panel, click the following settings icon below the red logo.
2, in the Open QQ "System settings" click "Session Window" you will find that there is no jitter window settings (but you will see the session window).
3, look at the "Allow the reception window jitter" option to see if the check box button is not checked, if there is no tick to click the window jitter will not
1, encounter QQ suspended animation, need to turn off QQ transparency effect. That is, on the QQ program window, click the "Settings" button;
2, then in the QQ Settings window, open the Group window, QQ and WIN8 system compatibility problems, the need to solve QQ and WIN8 system compatibility issues;
3, the solution is also relatively simple, directly to the QQ theme style modification, cancellation of transparent special effects;
4, in the cancellation of the QQ window transparent s
Problem failure
Iphone4s suddenly can not charge, connect the computer did not respond, determine not the cause of tail plug, there are solutions?
Solutions
First, try plugging in the power of 1 hours above the static, and then press and hold home+ open the key, to appear after the logo to let go.
Second, if you can not solve, change the root data line try, the Charger line is easy to bad. Apple's charging port and data port are the same, if you c
1, remember previously introduced related to the beginning of the menu does not respond to the solution, we look at the next one, in the desktop space, click Properties;
2, click the Second tab in the Properties dialog box, and then select "When I right-click the lower left corner or press windows key +x, replace the naming prompt with Windows Powershell in the menu," as shown below;
3, press win+x key combination to open the menu, and t
XP to start into the system interface, the point is not open, to wait a minute or so to open. What's the reason? This tutorial will introduce you to some of the problem solving methods. first of all, please upgrade anti-virus software virus library, full anti-virus, to remove the virus reason.
1, next through the "Start → run", input msconfig→ OK. In an open system system configuration program, turn off some of the unimportant services and startup programs, and restart the computer.
2, then,
1, first open the Start menu, then expand the attachment, find a command prompt, and the right mouse click it select the "Run as Administrator" option;
2, after the following copy of the command to paste to the command Prompt window, enter the run, and then restart the computer to solve the right mouse button does not respond to the problem of pop-up menu oh.
REG ADD hkey_current_usersoftwaremicrosoftwindowscurrentversionpoliciesexplorer/v "N
June 22 early morning, many webmasters have experienced the K station and weight drop, or the home page snapshots disappear.
June 25-27th, many websites experience Baidu snapshot back to June 15 or June 18.
"6.28" Baidu incident, let a lot of webmaster become more sad, SEO road more and more difficult! Again K station and the right to drop many sites.
This incident, many stations have been K. In my own words: K is a mentality, not by K is a kind of introspection.
Carefully look at Baidu Webm
After the prompt is installed to drive life, the main interface to find peripheral drivers, if it will be clear that your computer is currently connected to several peripheral devices. If there is a problem with the mouse driver, it will be displayed as an exclamation point, you just click on the icon with an exclamation mark, driving life will help you fix it immediately.
At this point, you only have to wait a moment, drive life can successfully repair the mouse drive problem.
Need tools
Today, the Write program adds a list control to the dialog box CListCtrl "dragged in controls" to display the contents of a vector in a class. Since this control has been used many times before, it has been known that if the list wants to respond to lvc_getdispinfo messages, it must be lvs_ownerdata style. So the following code is written in OnInitDialog ():
M_listctrl.modifystyle (0, lvs_ownerdata| Lvs_report| Lvs_singlesel);
M_listctrl.setextende
First, the origin of the problem
When using the URL and token to enable the micro-credit public platform to develop the mode message interface, we will encounter the following three kinds of situations
1. Your server does not respond correctly to token authentication, please read the Message Interface Usage Guide
So look back and check that the configuration is correct. If you are sure that the configuration is not a problem, follow the method be
Today in the start oracle11g service, suddenly inexplicable error, yesterday is all normal, meditation: The system is not upgraded; no other programs are installed; system-related configuration including environment variables is not changed.The cause of the error is as follows:After some toss, the only found today special point for the computer is not connected to the network (LAN can also), even the internet, start again, together ok!Specific reasons to be analyzed!ORACLE11G Starting Server ser
generate the corresponding database Model,dao and mapping, and then modify on the basis above, so that once the database structure changes, it is more difficult to re-generate the code with generator. This problem can be solved using the MyBatis inheritance feature. The scenario is as follows. First, use generator to generate the model,dao,mapping:attachsendtask of the base class Attachsendtaskmapper MyBatis How to use inheritanceModel:public class Attachsendtaskextend extends AttachsendtaskDao
Thinkphp: click the button and process the background action. What should I do? How to respond to this button ?, Please give me a great answer .. Thinkphp: click the button and process the background action. What should I do? How to respond to this button ?, Please give me a great answer ..
Reply content:
Thinkphp: click the button and process the background action. What should I do? How to
When an SQL statement under revisions has an exception, such as deleting a column that does not exist, the foreground does not respond. In fact, there is a response, but the returned data is not JSON data and cannot be parsed by the front-end. Modify pdo. publicfunctionquery ($ SQL) {return $ this-_ connection-quer
When an SQL statement under revisions has an exception, such as deleting a column that does not exist, the foreground does not
Win8 system Web browser always does not respond
When we were using the Win8 system, half of the web page was suddenly stuck, and the browser did not respond when we opened the resource manager. In the Win8 system, when a webpage cannot be browsed normally, what should I do if the webpage is always unresponsive? The following describes the solution.
Solution:
1. Open IE and click "menu --- Internet Option
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.