I'm writing a Firefox addon that is triggered whenever a word is highlighted. However I need a script that detects when a word is highlighted, and I'm stuck. An example would be nytimes.com (when you're reading an article and you highli...
i know that you with $(window).width() can get the size of the web browser.  i want to detect when the user change the size of his web browser so i could readjust the columns width. is there a way to automatically detect this or do i have to use setT...
I was talking with a friend about users who do not have javascript enabled in their browser and what could be done to show them a "no-javascript" version of your website.  Is it possible and how can it be done?  Thoughts?...
So I know how to change the css depending on the resolution via javascript.  How would one go about 'cropping' an image depending on the screen resolution?...
I have a file path list file_paths, and I want to detect which file exists. If any file exists, I want to read that one. Otherwise call another function,  not_found for example.  I wish to use async.detect but I found no way to add a 'Not Found&#...
Using JS, how can I detect if a special character is entered into an input field as it's typed?  EDIT: Special character being defined as non-alpha/numeric character  EDIT(2):  If it helps anyone else, here's what I came up with:  HTML  <...
We are developing a Web-App, which launches on Desktop and on tablets (iPad, Android or a surface). Now we are building our own keyboard for number inputs. When you set the focus on an input field with a mousclick, the costum keyboard opens correct....
I have several CSS3 animations linked to one div, but I only want a function to be callad a the end of the last animation.  I have used the animationEnd event so that I can trigger said function but as I said I only want the it to run on the last ani...
Ok i have tons of $http() calls all around the app code,  i'm wondering is there any way / best practice to detect when all $http() around the app  have finished ( success/error donesn't matter what they return, just need to know if finished...
I have a form that detects if all the text-fields are valid on each keyup() and focus(); if they're all valid, it will enable the submit button for the user to press. However, if the user fills in one of the text inputs with a browsers autocomple...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.