compatibility

What part of this RegEx is causing it to find no matches in IE7 and IE8?

我只是一个虾纸丫 提交于 2019-12-24 04:06:23
问题 I've got a regex that looks for a <span> with the class name foobar . It works in IE9, Chrome and Firefox. It's failing in IE7 and IE8. Can anyone tell me why? new RegExp( /(\s*?)<span\b(?:.*?)(?:class=(?:'|"|.*?\s)?foobar(?:\s|\3))(?:.*?)(?:\/)?>(.+?)<\/span>(\s*?)/g ) 回答1: If you're applying the regex against html you got from getElementById().innerHTML or jQuery .html(), IE will uppercase the HTML tags which could be the problem. If you make the regex case-insensitive - that is, change the

Macro handling difference between MS Excel 2010 and MS Excel 2013

落花浮王杯 提交于 2019-12-24 03:53:15
问题 I am currently modifying a Macro that was made early 2005 and running on previous versions of Excel. Recently it is being used in MS Excel 2010, but I am using MS Excel 2013 to modify the codes. Will there be any effects or compatibility issues? A link explaining the handling of macros on different version of Excels will be very much appreciated. Thank you. 回答1: Here's one "gotcha" to be on the look-out for: with Excel 2007, Microsoft introduced the "Big Grid". This was a huge jump in the

How to create Universal application?

江枫思渺然 提交于 2019-12-24 02:12:04
问题 Is there a possibility to create a same application for both iphone and ipad.If yes means please clearly explain all controls(uitabelview,uiimageview etc...) for iphone will work for ipad. And also give me a link for related studies... 回答1: It's quite easy to create a universal app - Xcode even has a project that does some of the initial set up for you. However, I believe the recommended approach is to use different NIB files/resources for each of the two targets and to use the appropriate

How to write to an Access database on Windows 10

荒凉一梦 提交于 2019-12-23 22:19:34
问题 Because the jdbc odbc bridge is no longer available (see this question/answer), I tried UCanAccess, which works great reading the database, but on Windows 10, throws an error on a write attempt: ( [CONCURRENT_PROCESS_ACCESS] - File marked as read only. Notice that only one process (one VM) for time can access in writing mode. ). The same code reads and writes perfectly using the UCanAccess driver on Windows 8.1 and Windows 7. I am currently unable to tinker since I don't have a Windows 10

Worth Styling Zoomed Out?

时光总嘲笑我的痴心妄想 提交于 2019-12-23 15:44:00
问题 This might be a poor question for this exchange but is it worth styling for zoomed out browsers? For instance, I can zoom chrome out to 25% and my navigation breaks, should I accommodate for this or will 99% of cases be fine without the extra effort in styling? What case would I run into problems like that? 回答1: 25%? I wouldn't worry about it unless you have a use case for your page where your users will be that far out. Now, 75%-125%, you might consider it. Usually your page will work fine

Internet connection not working if my App runs on a API 8 Emulator

瘦欲@ 提交于 2019-12-23 15:07:17
问题 Hi and thanks for your help, I have an App which I compile against API 17 in Eclipse. The App performs some simple internet connections. Now, when I test on an Emulator with API 17 everything works fine. If i test it against an Emulator with API 8 the App apparently is not able to perform network connections (adMob dos not show, HttpGet apparently not retrieving anything...) form my App (web browser on Emulator working fine and loading normally). And adMob as well does not load on Emulators

iphone version compatibility scanner

北战南征 提交于 2019-12-23 13:04:25
问题 Ok I've been developing iphone-apps for over a year now, but there's this one thing which still really sucks. Let's say I want to make my app compatible with iOS 3.0 I set my sdk to the newest version available and set my deployment target to 3.0 But what happens, if you by accident call a function available only in ... 3.1.x or later? Right, it simply crashes. There are no warnings or indicators telling you, that a function is only available in later iOS-Version. And since the Emulator doesn

Back to old display format in Matlab R2016b

ぐ巨炮叔叔 提交于 2019-12-23 11:48:17
问题 In Matlab R2016b, displaying variables of certain data types shows information about the type. This happens when the variable is displayed by typing it without a final semicolon (it doesn't happen when using the disp function). Compare for example: Matlab R2015b (old format: displays just the data): >> x = [10 20 30] x = 10 20 30 >> x = {10 20 30} x = [10] [20] [30] >> x = [false false true] x = 0 0 1 Matlab R2016b (new format: includes type): >> x = [10 20 30] x = 10 20 30 >> x = {10 20 30}

Back to old display format in Matlab R2016b

十年热恋 提交于 2019-12-23 11:48:00
问题 In Matlab R2016b, displaying variables of certain data types shows information about the type. This happens when the variable is displayed by typing it without a final semicolon (it doesn't happen when using the disp function). Compare for example: Matlab R2015b (old format: displays just the data): >> x = [10 20 30] x = 10 20 30 >> x = {10 20 30} x = [10] [20] [30] >> x = [false false true] x = 0 0 1 Matlab R2016b (new format: includes type): >> x = [10 20 30] x = 10 20 30 >> x = {10 20 30}

$_SERVER[“SCRIPT_URL”]: when is it reliably present?

我与影子孤独终老i 提交于 2019-12-23 07:59:11
问题 In my local environment (PHP 5.4.24 on Apache 2.2.26) $_SERVER["SCRIPT_URL"] is present, but I read around that this variable is not always present, even though I couldn't find exactly when it is and when it isn't. I'd like to know what is required for this variable to be reliably present. 回答1: It's only available when you have mod_rewrite enabled: http://httpd.apache.org/docs/2.0/rewrite/rewrite_intro.html#EnvVar 回答2: This variable strongly depends on the server's configuration. When using