Mar
13
comment How can I prevent the dropdown from opening in a DropDownList?
On IE7, the "event.preventDefault()" command will throw a javascript error, probably because, in your case, "event" property refers to another event besides select's mousedown. But thanks to this javascript error, dropdown opening is prevented. A good "side-effect" maybe.
Mar
13
awarded Commentator
Feb
26
comment Set The Window Position of an application via command line
@FuzzyWuzzy Great solution! Using AutoHotKey, I've created a script that open four instances of VBALink emulator (for netplay), resize all windows in order for each of them to occupy 1/4 of the desktop, and positioned each window in a different corner of my screen (top left, top right, bottom left and bottom right). It worked like a charm!
Feb
26
comment jQuery UI Autocomplete - How to tell if "autocompleteopen" event is triggered when the suggestion menu is opened or updated?
@DanielSimpkins Good idea! In theory, that'll solve the fadein transitions problem, but dunno about my additional events. I'll try that later.
Feb
26
comment jQuery UI Autocomplete - How to tell if "autocompleteopen" event is triggered when the suggestion menu is opened or updated?
I've updated the question inserting more details. Please take a look again.
Feb
26
revised jQuery UI Autocomplete - How to tell if "autocompleteopen" event is triggered when the suggestion menu is opened or updated?
Provided details about the question
Feb
25
asked jQuery UI Autocomplete - How to tell if "autocompleteopen" event is triggered when the suggestion menu is opened or updated?
Feb
24
awarded Citizen Patrol
Feb
24
comment Yahoo Weather API - "City not found" error on various cities
I've edited my question providing more details to show it's a question about programming. Dunno if Stackoverflow is the best place to solve my issue, but can you provide me a link to a place on Yahoo that I can post this question too?
Feb
24
revised Yahoo Weather API - "City not found" error on various cities
Provided more tech info about my problem, such as a bit of my code.
Feb
18
asked Yahoo Weather API - "City not found" error on various cities
Feb
17
comment jQuery's after method not working with newly created elements
Strangely, I'm getting this same bug after updating jQuery from 1.8.2 to 1.11.0. The $.after() and $.before() methods aren't working on newly created elements. I need to firstly add the newly created element to DOM, and then insert the new content to it. Another workaround is using $.add() method, but it won't work if you wish to insert content before the element.
Feb
10
comment Check specifically if jQuery.ui.autocomplete is undefined
Tried that solution a week ago and that's the best way of solving this problem. I just needed to test if jQuery UI Core library is loaded, and then test all of them. Something like this: if($.ui != undefined && $.ui.autocomplete != undefined){ return true; } Of course I needed to check all needed js libraries, so I made a function that check all libraries that I need to load, then start loading it with a recursive function that loads all js files through $.ajax (or $.getScript without cache).
Feb
10
accepted Check specifically if jQuery.ui.autocomplete is undefined
Feb
7
comment Changing name attr of cloned input element in jQuery doesn't work in IE6/7
This worked for me too, on an function that convert a text field to an array of text fields by concatenating a string wrapped with square brackets, like this: Before: <input type="text" name="creation_date" /> After: <input type="text" name="creation_date[start]" /><input type="text" name="creation_date[end]" /> In a similar context, I need to change the fields' id attribute. Will it work this way?
Jan
31
comment Convert URL parameters to a javascript object
What about browsers without JSON.parse() method? Since I have jQuery on my website, If I simply change JSON.parse() to $.parseJSON(), will it work?
Jan
16
comment Which NDS emulator run better in Ubuntu?
You'll have better performance if you run No$GBA. It's only for Windows, but you can run perfectly on Wine. For slow processors, such as the first Dual Core processors or below, No$GBA is much faster than Desmume.
Jan
12
awarded Notable Question
Nov
21
answered timeout parameter does not make any effect on Titanium.Network.createHTTPClient
Nov
11
awarded Scholar
1 2 3 4