quotation marks around the attribute value of an element
Javascript has a function called querySelector, which is used to get the dom object of an element based on some condition specified as the parameter of the function, such as […]
Javascript has a function called querySelector, which is used to get the dom object of an element based on some condition specified as the parameter of the function, such as […]
A Qt project typically has some source files, header files, and a .pro file(project file) in a directory. If you copy a whole project directory that has been built to […]
The deprecation of QWebView in Qt5.7 seems a sign of the Qt team being compromised by M$ finally. However this creates many troubles for programmers porting QWebView to QWebEngine. Although […]
If you have a typo in a php file that breaks the syntax, the php engine cannot execute the php code and exits. You will see a blank page. The […]
stripslashes is used to strip backslashes from a string, i.e., stripslashes(“\\e”)===”e” stripslashes(“\\n”)===”n” stripslashes(“\n”)===”\n” //there is no backslash in the string. stripcslashes almost does the same thing as stripslashes except it […]
SimpleXMLElement is used to represent an XML element. The typical usage is: $resp = simplexml_load_file($httpcall); $resp->somechild; Note that somechild is the tag name of a child of the XML […]
When you switch Qt from the old version to the latest version(Qt 5.7.0), you must find your programs cannot compile any more. Even you do not change any option, the […]
When you compile a program using mingw, an error may cause a lot of output in the command window. Because the cmd window only stores a limited lines of text, […]
You may think mouse drag-drop simulation is as easy as mouse click simulation because a drag-drop event is just composed of a mouse press event, some mouse move events, and […]
We have learned how to simulate a mouse click using the SendMessage function. In fact, there are quite a few methods you can use to simulate mouse events. SendInput is […]