Description:
Netscape Communications Corp.'s JavaScript language.
|
|
|
FAQ Topic - How do I change print settings with window.print()? (2008-07-07)
|
| |
------------------------------ ------------------------------ ----------- FAQ Topic - How do I change print settings with window.print()? ------------------------------ ------------------------------ ----------- In a normal security environment, you can't change anything. The page stylesheet rules provide some options, but are not supported... more »
|
|
How to add a caret like FCKEditor?
|
| |
We can add a caret in textarea, but when I inspect FCkEditor with firebug, I don't find a textarea tag, but still there is a caret there. I wonder how Fckeditor do that? Anyone know that?
|
|
Trying to adopt a simple method to fix back button when using AJAX
|
| |
Hi, After some sniffing about ive been trying to find a simple means to fixing the back button for my AJAX site. One means I did come across was using the url hash to store state information. Because I could find no event that triggered that the back button was clicked (only know of onunload but this seems to fire for any type of relocation) so... more »
|
|
Regular expression help for 12 hour clock?
   
|
| |
Hello, I am trying to make a regex for a 12 hour clock, and I can't seem to get it just right. What I have now is var regexmatch = /(1[012]:[0-5][0-9]|[1-9]:[0-5 ][0-9])\s((a\.m\.)|(p \.m\.))/i My thinking is that the first part will filter out the time and the | will correctly check the two possibilities... more »
|
|
FAQ Topic - How do I generate a random integer from 1 to N? (2008-07-06)
|
| |
------------------------------ ------------------------------ ----------- FAQ Topic - How do I generate a random integer from 1 to N? ------------------------------ ------------------------------ ----------- Method Math.random() returns a value R such that 0 <= R < 1.0 ; therefore function Random(x) { return Math.floor(x*Math.random()) }... more »
|
|
tbody.removeChild(tbody.lastCh ild) sometimes fails
|
| |
Hello, I am lerning HTML/CSS/JavaScript. I created HTML page with table "property_fields" containing 24 rows ('tr' elements). I want to remove last 23 rows: var table = document.getElementById("prope rty_fields"); var tbody = table.tBodies[0]; for (var r = 1, len = tbody.rows.length; r < len; r++)... more »
|
|
Frames as Rodney Dangerfield
|
| |
They just don't get no respect. "In the early days of JavaScript, multiframe and multiwindow web applications were fairly common. Now, web design has turned strongly against the use of frames (but not inline frames, called <i>iframes)</ i>, and it is less common to see web sites that use interacting... more »
|
|
Functional question
|
| |
Do these two give a different result? function positive() { return true; } var positive = function() { return true; }
|
|
Python XML-RPC Server with clientside Javascript
|
| |
Hello everyone, I have used Python SimpleXMLRPCServer to expose several methods to be used. My Python script creates a free-standing server and not a CGI script. I have tested its exposed methods using the following Python script: import xmlrpclib s = xmlrpclib.ServerProxy('[link]) print s.my_method()... more »
|
|
|