|
First
|
Prev |
Next
|
Last
Pages: 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
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? ... 6 Jul 2008 23:12
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 fi... 6 Jul 2008 06:51
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 possibili... 7 Jul 2008 07:21
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.... 5 Jul 2008 19:40
tbody.removeChild(tbody.lastChild) 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("property_fields"); var tbody = table.tBodies[0]; for (var r = 1, len = tbody.rows.length; r < ... 6 Jul 2008 06:51
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 windows." (F... 15 Jul 2008 16:27
Functional question Do these two give a different result? function positive() { return true; } var positive = function() { return true; } ... 7 Jul 2008 13:31
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('http://localhost:8765') print s.my... 5 Jul 2008 01:20
FAQ Topic - Why does 1+1 equal 11? or How do I convert a string to a number? (2008-07-05) ----------------------------------------------------------------------- FAQ Topic - Why does 1+1 equal 11? or How do I convert a string to a number? ----------------------------------------------------------------------- Javascript variables are loosely typed: the conversion between a string and a number happens... 4 Jul 2008 19:13
How to pass a parameter for a function parameter in a function function foo(msg) { alert(msg); } var insertForm = function() { this.button = $('add_customer'); this.button.observe('click', foo('hello world')); } The above line ' this.button.observe('click', foo('hello world'));' does not really work. It will work if I don't pass any parameters. ... 4 Jul 2008 21:15 |