21h
comment Javascript regex doesn't match
You missed one slash. The / before /img is still improperly escaped. Though it doesn't cause a problem since / doesn't need to be escaped at all.
21h
comment Javascript regex doesn't match
@helmet91 Just adding the RegExp constructor couldn't have fixed your problem. If it worked then you must have fixed the improper escaping in your string as well.
22h
comment Javascript regex doesn't match
If a non-RegExp object obj is passed, it is implicitly converted to a RegExp by using new RegExp(obj). String.prototype.match
22h
comment JSFiddle example doesn't work when exported into my text editor
Shot in the dark, but you probably didn't include jquery either.
1d
answered Stop jQuery Fade Loop and add Hover Not Working
1d
revised overflow:hidden ignoring bottom padding
added 159 characters in body
Jul
21
revised Java regex error - Look-behind group does not have an obvious maximum length
deleted 3 characters in body
Jul
19
awarded jquery-selectors
Jul
18
revised Hide class if they have parent class
added 4 characters in body
Jul
18
comment Variable is undefined in local scope if declared in upper scope and a var with same name is declared in local scope in an unexecuted statement
I think you may have missed the point of the question. This code was specifically crafted to display a certain behavior and the OP would like to know why it works this way, not how to "fix" it.
Jul
18
comment Variable is undefined in local scope if declared in upper scope and a var with same name is declared in local scope in an unexecuted statement
JS doesn't have block level scope and variables are hoisted. Might consider reading up on hoisting if you are unfamiliar
Jul
17
comment generate all possible words typed on a phone keypad recursively in javascript
A minor note. You don't really even need to return anything from your function. You can simply use found_words in the calling function once the recursion completes. I left this out of my answer as it doesn't really affect the issues with your code. jsfiddle.net/8rLvM/1
Jul
17
answered generate all possible words typed on a phone keypad recursively in javascript
Jul
15
comment HTML Inputs Not respecting CSS Height of containing div
You deleted it... have a look at your edit history.
Jul
15
revised Passing variable to getElementById()
added 48 characters in body
Jul
15
comment How to vertical align top in my case
You've used vertical-align in previous questions, so you obviously know it exists. What about your current situation makes it so it can't be used here? Seems pretty straightforward.
Jul
14
comment How to affect all classes with the same name on hover
The other possible problem is with other non-icon content within the .main. Hovering on that will gray out all .icons
Jul
14
comment Jquery function executes only once after page load
This fiddle illustrates: jsfiddle.net/6LDNG
Jul
14
comment Jquery function executes only once after page load
@Nicholas $("...").val will return (not call) the function itself. The function is truthy.
Jul
14
comment Jquery function executes only once after page load
@KodleeYin val will not be undefined, it is a function which is truthy.
1 2 3 4 5