I'm wondering if someone can help me out. I'm entered a chacter into a text area from a button, and want to use the string entered into the textarea to retrieve words from a list. Bear in mind, there could be numerous characters entered. Is it possible for a text area to detect when text has been entered and to action it?
I like my vim to get itself into command mode as often as possible. I think losing focus would be a good event to make that happen. Everything I found is for saving on lost focus.
I'd like it to auto-return to cmd mode when switching tabs in macvim or when cmd+tabbing to another app.
As soon as I load any file in vim, It'll try to detect the file and color-highlight it if possible.
I want to know a vim command that will tell me which ftplugin or Filetype plugin / filetype is vim considering to highlight the file.
Hi All,
I'm trying to detect if a file exists at runtime, if not, create it. However I'm getting a 'The process cannot access the file 'myfile.ext' because it is being used by another process.' error when I try to write to it.
Any ideas how to fix it?
Thanks
Is there any way that I can detect browser type on routing and use specific controller? I want to be able to do something like this in routing.yml:
mobile:
url: /*
requirements:
browser: mobile
I just replaced a radio button for selecting the users mobile device with divs containing images instead. I am using a JQuery click event to detect when the user chooses an option. How can I make this keyboard accessible?
Let's say I have a html file (foo.html) that make a request to a xml file onload (bar.xml).
Is it possible, using a rewritting engine (isapi_rewrite for example) to detect if the xml file is being 'hotlinked' or being loaded by the 'index.html'?
Thank you.
Is there anyway to detect when a user logins if there is already another session with the same username, and block him from logging in again or send him a message?
in some of the websites i have, when adding to favorite with IE button the name of the favorite that is auto filled in by the page title is sometimes not getting the name and insted it gets the url where the "/" is replaced by "-" and ":" is removed
what is the problem?
the websites are hebrew or english, encoding is utf-8 or windows-1255...
Dear all,
I have a excel file place on server.
I am using a application which written by VB.NET to open file in read only mode.
User 1 open file in read only mode.
How can user 2 detect that file is open or not status?
Thanks,
An
confusing title but the best way I can put it.
Basically I am currently using a single div with overflow:auto that contains different GridViews. The GridViews are swapped by using a MultiView with each indiviudal view containing a single GridView.
I would like to be able to store the scroll position of each view so that I can set the div's scroll position depending on the view that will be switched to.
Here is how my page is set up.
<div id="scrollingDiv" style="height:100%; overflow:auto;">
<div id="gridWrap">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="Inline">
<ContentTemplate>
<asp:MultiView ID="MultiView1" runat="server">
<asp:View ID="view1" runat="server">
<asp:GridView ID="gridView1" runat="server">
</asp:GridView>
</asp:View>
<asp:View ID="view2" runat="server">
<asp:GridView ID="gridView2" runat="server">
</asp:GridView>
</asp:View>
</asp:Multiview>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
So scrollingDiv will contain all the Views and will scroll for each one of the GridViews.
To switch between views I have a drop down connected to an
protected void DropDownList_SelectedIndexChanged(object sender, EventArgs e)
{
switch (DownList.SelectedItem.Value)
{
case "view1":
MultiView1.SetActiveView(view1);
break;
case "view2":
MultiView1.SetActiveView(view2);
break;
}
}
I have been looking around and can't quite find something specific to my case. I would like to be able to use just the one overflow div but would understand if I had to make a separate overflow div for each view.
Any help would be great,
Thanks.
Is it possible in Java (SE, not J2EE) to detect whether cookies are enabled in the default browser?
This isn't a client/server application. It's simply a desktop application that happens to interact with the default browser.
When I link Boost.Thread to my boost_test executable, it gives me
make[2]: *** No rule to make target `/usr/lib64/libboost_thread-mt.so', needed by `gogo/test/test_boost'. Stop.
when I make it. Here's the offending CMake code, what am I doing wrong?
add_executable(boost_test boost_test.cpp)
add_test(boost_test boost_test)
# Boost auto-links for MSVC, so we exclude it.
if(CMAKE_COMPILER_IS_GNUCXX)
target_link_libraries(test_boost #LINK_INTERFACE_LIBRARIES
${Boost_THREAD_LIBRARY}
)
endif()
Could someone tell me the difference between those two. The first one is working on FF and not in IE (6) and second one is working in IE (6) and not in FF (I am using the Jquery 1.4.2). We had to detect the browser and write the script accordingly.
This seems like a no-brainer but I couldn't find anything on it.
How do I detect if a date variant in Outlook is "empty"? For example TaskItem.DueDate - the duedate is not necessarily filled.
If it's not filled Outlook returns "4501.01.01." - I can test for this value, but this just doesn't seem "elegant" enough.
Thanks!
Question http://stackoverflow.com/questions/1082474/authoring-html5-in-emacs talks about nxml-mode but, from what I read, that can only be used for XHTML5, I want to use emacs with HTML5 (no XML syntax). Is there any mode with auto-indentation, tag/attribute completion, etc.?
We have a number of integration tests that fail when our staging server goes down for weekly maintenance. When the staging server is down we send a specific response that I could detect in my integration tests. When I get this response instead of failing the tests I'm wondering if it is possible to skip/ignore that test even though it has started running. This would keep our test reports a bit cleaner.
Does anybody have suggestions?
I have the following:
$("span.findme").each(function() {
$("<li>").text($(this).text()).appendTo("ul");
});
How can I, using the above, detect if EACH finds 0, if it's 0 I want to trigger an alert.
Thanks
A combo box is an auto-complete text box that is also a dropdown (i.e., you can choose from a list if you prefer).
"Best" means combination of: stable, look/feel, API / customizability, maturity.
hi friends,
I want to set auto lock my iphone/ipad/ipod screen programaticaly after some time delay. Can any one tell me how to do the same?
if any one is having any suggestion please let me know.
thanks in advance.
Do anyone have have an example how to set up and what entities to cache in fluent nhibernate. Both using fluent mapping and auto mapping?
And the same for entity relationships, both one to many and many to many?
When i complete gzip with IIS, and i restart the server the problem came: that the "web
service extension" the point to "c:\windows\system32\inetsrv\gzip.dll" has been auto deleted!
so awesome, but why? And i google it, but find nothing about it, have anyone even meet this
questiong?
Please help me, thanks a lot!
Hey friends,
I want that my flash file on my website, can't be downloaded by anyone.
Is there any way that i can do that?
As Firefox and many browser has many add-ones which easily detect out flash content and after they can download the flash file?