» Home » focus » Page 1
How to remove focus from Kendo UI AutoComplete when an Item is selected and set focus on an input element?
Category : Programming Languages

I am trying to shift focus from a Kendo UI AutoComplete to an input element after an item has been selected. I've tried this...

select: function (e) {
var dataItem = this.dataItem(e.item.index());

But it didn't work.

View Replies

jQuery .is(“:focus”) doesn't recognize focus on checkbox in browsers other than IE
Category : Web Design

I have a checkbox and a text input. Here's how it works: The cursor goes to the text input when the checkbox is checked. When the text input loses focus, I look to see whether the text input value is empty. If it is, I uncheck the checkbox.

Problem is when it loses focus because I click on the checkbox a second time... The checkbox unchecks and then is checked again, so I can't unch

View Replies

JQuery Confirmation dialog focus causes dropdown on main window to lose focus
Category : Programming Languages

I have a JQuery dropdown menu set up so that when a particular selection is made a confirmation dialog (also JQuery) is displayed with a comment field and a yes/no button. I want for the user to be able to enter text and click yes or no on this confirmation window while the state of the dropdown menu in the background remains the same.

Unfortunately, as soon as I click anywhere in t

View Replies

How to Use Insta-Focus with your Bushnell 7x35 Wide Angle Perma Focus Binocular
Category : Electronics
Binoculars are tools of the trade for a number of different hobbies, especially bird watching. You can use binoculars to look at birds up close without scaring them away. Bushnell binoculars offer several different focus modes. Each focus mode has its own strengths and weakness, so experiment to see which setting works best for you.Difficulty:EasyInstructions Things You'll Need
Bushnell bino

View Replies

How to automatically switch input language when focus and back on focus lost
Category : Development Tools & Services

I want to write either attached property or behavior for TextBox so that when focused input language changes automatically based on set property

can anyone provide me with sample code to achieve this?

Here is the code I have so far but I want to set and unset language based on textBox focus so when TextBox focus lost I want to switch to inputlanguage which was selected b

View Replies

checking all children of a submenu to see if any element has focus in jquery, using :focus selector
Category : Programming Languages

I have a navigation menu which when an item is selected on the menu, a submenu will appear. The submenu can contain 3 possible elements: text to represent a category, a url to take the user somewhere, and a search box with which the user can type data in and hit a button to go to a controller action. For design purposes, every five elements are grouped into one ul.

This is an exampl

View Replies

How to make textview focus like Edittext Focus in ScrollView in android?
Category : Android

I am developing application with some edittext's and some textviews. Those all are in scrollview. When touch on edittext the soft key is appearing and the view automatically adjusted. The selected edit text is appearing above the soft key. And when click on textview i am showing some hidden view(Linear layout contains 3 buttons) that covers my selected textview field. I am not getting how can i

View Replies

on jquery's focusout, detect whether the focus shifted or no elements have focus
Category : Programming Languages

I'm using jquery 1.8.2, have 2 input fields and would like a way to detect whether each one has focus, or neither have focus.

Any help would be greatly appreciated, thanks.


I've updated the jsfiddle to be closer to what I want so there isn't confusion. The problem here is I have 2 input fields which are tied together. I want to grow one and shrink t

View Replies

Firefox focus transition failure when focus starts in address bar
Category : Web Design

When I attempt to set the focus to an input element when the page loads, it fails with Firefox in certain circumstances. Here is the code:

:focus {
outline: 3px solid #ff0000;
<script type="text/javascript">
function setFocus() {

View Replies

How to re-focus to a text field when focus is lost on a HTML form?
Category : Web Design

There is only one text field on a HTML form. Users input some text, press Enter, submit the form, and the form is reloaded. The main use is barcode reading. I use the following code to set the focus to the text field:

<script language="javascript">

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .