-
Replied To a Post in client-side Image size/type validation (demo)
@hamid, No Hamid that's not true. I was there when quotes were introduced in HTML for the first time in history of the web. They were introduced as allowed means … -
Replied To a Post in Selecting a cell header to populate remaining cells
How about you post a fiddle intead? -
Replied To a Post in PHP Changing Image Every 2 Hours
how many images? 1. say, will they be like 2 alternating images sequencing two hours intervals. 2. every two hours in a day a new image (that makes 12 in … -
Replied To a Post in Duplicate ID
Of course not. It is never OK to use the same ID for two or more individual subjects in the same global context. But ain't that obvious? -
Replied To a Post in Prototypal Inheritance
AleMonteiro says: "As I understand it, the **purpose of the closure** when defining the object is just about code organization and keeping some desired functions hidden from the global context." … -
Replied To a Post in How is it done - what is it called?
I don't think I para-like it. In fact, I think I para-hate it. Or it's just that I'm simply growing old?er. -
Replied To a Post in Prototypal Inheritance
as already stated - it's a self defeating aim and purpose. People need to learn to respect LiveScript for what it is; in order be able to learn how it … -
Replied To a Post in Prototypal Inheritance
AleMonteiro says: "Troy, I may be wrong, but I think Dave was only trying to wrap all of Cat's code inside the Cat function." But than, why would he need … -
Replied To a Post in Javascript not working in any browser
Uninstall that damn wormhole -
Replied To a Post in Registration Button Not Working
it was the malformed HTML and the douped form id... -
Replied To a Post in Javascript not working in any browser
@hpox 1.what were you doing before things started going south? 2.did you visit a site requesting you to install JAVA engine? 3.what is your current OS? -
Replied To a Post in Prototypal Inheritance
DaveAmour says: (is there) "a way of getting the code which makes Cat inherit Animal actually inside the Cat function". But that - my friend - (in case I understand … -
Replied To a Post in Prototypal Inheritance
I always thought that JavaScript is the only language that has the potential of producing a live, living & evolving A.I. -
Replied To a Post in Introducing seamless guesswork in JavaScript
There are other critical uses also. Say, checking for an explicit "undefined" value of a named property. Checking if a variable name is already declared but (still) not initialized. Or, … -
Replied To a Post in Insertion of javascript code into html leads to anomalies
maybe this way you will have a better overview of your error in variables "salate" & "suppen": var pizzen = [ ["Mageritha", 4.90], ["Cardinale", 5.90], ["Salami", 6.90] ]; var salate … -
Gave Reputation to SimonIoa in Anchor <a> problem
Relax. Try to be kind i won't mark it as solved untill you do that. stop acting like a bully. You dont have the authority to tell people what to … -
Gave Reputation to SimonIoa in Anchor <a> problem
Relax. Try to be kind i won't mark it as solved untill you do that. stop acting like a bully. You dont have the authority to tell people what to … -
Replied To a Post in Anchor <a> problem
@SimonIoa, you are still late! Because once again you refuse to mark the thread as solved. Secondly You say "because (you've found) the solution days before" Yet, everybody can see … -
Replied To a Post in Anchor <a> problem
SimonIoa, thanks for the endorsements and all but I think that our vast community would be benefiting a lot more from marking helpful posts and solutions for what they are, … -
Replied To a Post in How to remove white spaces from string
dt1.match(/\S+/g).join(''); _> "11:30:am" -
Replied To a Post in Aattributes
The lowsrc has been used to load a low-resolution copy of the original image before the full resolution src-image has been loaded. Now... - Would you like to know why? -
Replied To a Post in Changing text with no html tags
You have a wrong understanding on the case here, because there's no other call and no wild card selector! You are simply obtaining a reference to an allready existing DOM … -
Replied To a Post in Anchor <a> problem
...and here is a fiddle http://jsfiddle.net/qyu9q09v/ is this how they used to look? -
Replied To a Post in Anchor <a> problem
<a> is not an Anchor Element without a properly initialized href object. It's the same as if you've written: _> <z><img.../></z> so it will inherit from HTMLUnknownElement Prototype. But, your … -
Replied To a Post in Changing text with no html tags
To tell you the truth, I dont have any jQuery skills - and since the main reason of using it, was W3C's blunt of introducing the lamest ever var myElement … -
Replied To a Post in Introducing seamless guesswork in JavaScript
Bump! ( serious coders have been sufferning for this for decades. Now that it's here it seems as if they've got used to getting a painful path around, accepting the … -
Replied To a Post in Select same "id" for multiple textarea->Javascript
@Sofersurfa You should never, ever, assign the same ID to two or more subjects within the same popullation. This act in direct violation with the very definition of ID, its … -
Replied To a Post in Changing text with no html tags
But off course you saw it (it's not invisible) yet overlooked it with pride like, something that could never, ever, even have a chance to work. But it does! Perfectly, … -
Replied To a Post in Changing text with no html tags
@ diafol: Why this has been overlooked so far I don't know that solution is so edgy they were afraid to even look at it! -
Replied To a Post in A Small Problem Involving a Label
mattyd you've changed the width of your form container - or you'vechanged the font or size; anything of that kind - or simply added borders, -just ad some more space … -
Replied To a Post in Changing text with no html tags
JavaScript <!DOCTYPE html> <html> <head> <meta charset=utf-8> </head> <body> <div class="wpb_wrapper"> Log In <div class="login" id="theme-my-login1"> This text doesn't change </div> </div> <script> this['theme-my-login1'].parentElement.replaceChild ( document.createTextNode("Don't Login!"), this["theme-my-login1"].previousSibling ); </script> … -
Replied To a Post in document.getElementById doesn't work on Apple Mac Pro
This shouldn't have worked on either. It's a Mozilla faulty omission for allowing the add of arbirary style property names (and values) as strings [!!!] document.getElementById("list_bogor_2014_2015").style = "display:none"; -
Replied To a Post in TypeError: f[k] is undefined
you are calling the property "k" of object "f" which is "undefined" at line 32 col 244. Make sure "f" points to the object containing "k" property before calling it. -
Replied To a Post in document.getElementById doesn't work on Apple Mac Pro
"oh my god" - where am I?!! panjiasmara, you never told us how did you call the function "showDiv()" in your original script. Please do, because if it worked on … -
Replied To a Post in How to Auto Get <img id=""> JavaScript
What do you need the ID's of the images for? -
Created Introducing seamless guesswork in JavaScript
# Determine if a namespace/variable-name exists # ## Check for namespace existence in your environment variables and objects before writing to them. ## **Guess if "Book1.chapter22.paragraph37" exists without provoking errors … -
Replied To a Post in constrain elements in a div and not overflow the div
Not specify the (container) div height. -
Replied To a Post in Variable with the name of a column array
>What can I do to the column variable has the Date value, for example? It's rather -what do 'you' want to do with them? -
Replied To a Post in Verify all columns of the array for a determined pattern
>if (/(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/.test(list[i]**.?**)) What's the dot + questionmark doing there? Remove that, and come again. -
Replied To a Post in javascript with Ajax
What is the HTML structure containing those inputs? And what doc-type are you using? Did you change any of the above-mentioned before this issue has arisen? -
-
Replied To a Post in z-index
z-index:0; is equivalent to: unspecified / invalid / value failed to be assigned, etc, etc. div1 > z-index:0 -will be covered by div2 > [no index specified] -
Replied To a Post in save data to .txt file using javascript
The case in question is about obtaining a horse first, than - if you like - you may also beat it. -
Replied To a Post in save data to .txt file using javascript
That page should be run on IE - after running it you should get a safety warning msgBox : hit YES than check in "C:/" and get "test.txt" file for … -
Gave Reputation to diafol in Which is more useful on home page? Rotating slider or static banner
I hope I wasn't poo-pooing these widgets / designs too much. I was referring to their use by the half-arsed out there. In the hands of somebody who knows what … -
Replied To a Post in z-index
even W3schools got this right: > "Note: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed)." [!note] Your z-index:2 div element has no position. Further on, "z-index: 0", (used … -
Replied To a Post in Which is more useful on home page? Rotating slider or static banner
The problem is that people dont reach pages to be getting some awesomness unless the awesomnes is a part of your page >>content<< not the design. A good rotator is … -
Gave Reputation to almostbob in backslash on link element
## HTML NEVER had a self closing element ## **X**HTML required all elements to close, singleton elements were required to self close, `<img alt='' src='' />` or `<link href="css/style.css" rel="stylesheet" … -
Replied To a Post in Which is more useful on home page? Rotating slider or static banner
>Just wanted to know from Daniweb expert! Which is more useful and suitable on home page? Rotating slider or static banner. The most useful thing on your page is the … -
Replied To a Post in Difference between var $name and var name
:) That's because in JavaScript everything is variable. Prefixing a variable-name [initially] containing a String (object or literal) with $ symbol - is plain dumb, for who knows what it …
The End.