大约有 40,750 项符合查询结果(耗时:0.0499秒) [XML]
Get the size of the screen, current web page and browser window
How can I get windowWidth , windowHeight , pageWidth , pageHeight , screenWidth , screenHeight , pageX , pageY , screenX , screenY which will work in all major browsers?
...
Generate random password string with requirements in javascript
I want to generate a random string that has to have 5 letters from a-z and 3 numbers.
18 Answers
...
Repeat String - Javascript
What is the best or most concise method for returning a string repeated an arbitrary amount of times?
30 Answers
...
Converting user input string to regular expression
I am designing a regular expression tester in HTML and JavaScript. The user will enter a regex, a string, and choose the function they want to test with (e.g. search, match, replace, etc.) via radio button and the program will display the results when that function is run with the specified argument...
Strengths of Shell Scripting compared to Python [closed]
I tried to learn shell(bash) scripting few times but was driven away by the syntax. Then I found Python and was able to do most of the things a shell script can do in Python. I am now not sure whether I should invest my time in learning shell scripting anymore. So I want to ask:
...
How to prevent scrollbar from repositioning web page?
I have a website with center-aligned DIV. Now, some pages need scrolling, some don't. When I move from one type to another, the appearance of a scrollbar moves the page a few pixels to the side. Is there any way to avoid this without explicitly showing the scrollbars on each page?
...
invalid byte sequence for encoding “UTF8”
I'm trying to import some data into my database. So I've created a temporary table,
20 Answers
...
MySQL vs PostgreSQL for Web Applications [closed]
I am working on a web application using Python (Django) and would like to know whether MySQL or PostgreSQL would be more suitable when deploying for production.
...
Why does Lua have no “continue” statement?
I have been dealing a lot with Lua in the past few months, and I really like most of the features but I'm still missing something among those:
...
File changed listener in Java
I'd like to be notified when a file has been changed in the file system. I have found nothing but a thread that polls the lastModified File property and clearly this solution is not optimal.
...
