Jquery add/remove automaticly

jQuery
I would like to add / remove value automatically for my example: $('#select_factu').on('change', function () { if (this.value == 'Mois'){ ...
11 months ago

Gmagick extension for php install -- how and where?

PHP
Downloaded php-pear and tried installing gmagick extension by following the steps given in link "http://www.gerd-riesselmann.net/development/how-insta...
11 months ago

Python in Robot framework - Se2Lib has no attribute 'execute'

Python
in my Robot framework tests I need some custom python keywords (e.g. to hold CTRL key) And everything worked before I started refactoring my "big" cus...
11 months ago

How to install GGRAPH package to the latest R (v.3.3.2)

R
I am very new to R and I need ggraph library and it can't be installed from rstudio console. Here is a message: Warning in install.packages : pa...
11 months ago

How to work with elasticsearch and associations between index objects?

Ruby
I am using the Tire gem for Rails and a couple of questions have been raised about model associations. How do you work with them? Let say you have a r...
11 months ago

Onclick() in a Parent Fragment does not get called

Android
I have a FragmentPager for implementing 3 tabs. Inside one of the tabs I need to do this: If the user clicks on Button A I want to load Fragment A ins...
11 months ago

A better 8x8 bytes matrix transpose with SSE?

C
I found this post that explains how to transpose an 8x8 bytes matrix with 24 operations, and a few scrolls later there's the code that implements the ...
11 months ago

Excluding column from gather() from tidyr package using standard evaluation

R
I'm trying to exclude a column from gather() from the tidyr package using standard evaluation. Using non-standard evaluation, this works fine: mtca...
11 months ago

How to get latitude & longitude onclick on google map

Android
I want to find the path between two locations on Google Maps which I have clicked. So when I click anywhere on the map I want to get the latitude &amp...
11 months ago

Random number bigger than 100,000

C
I'm writing in C/C++ and I want to create a lot of random numbers which are bigger than 100,000. How I would do that? With rand(); ...
11 months ago

Cannot create lightbox

CSS
I am using the following div:- <div style="position:absolute:z-index:150;top: 0; left: 0;width:100%;height:100%;text-align:center;background-c...
11 months ago

How to show method parameters hint in Intellij IDEA?

Java
int beginIndex, int endIndex is important when we invoke methods. How to show this when the cursor is in the brackets? ...
11 months ago

Getting Booleans and Integers from strings.xml

Java
I've only ever had to work with Strings within the strings.xml file before, but now I have a case where I need to work with Boolean and Integer items....
11 months ago

Firefox webextension not copying to clipboard

Javascript
I have a Firefox web extension which is supposed to generate buttons which copy a link to the clipboard. In my content script for the plugin, I have: ...
11 months ago

How to disable UIButton that created programmatically in iOS objective c

Objective-C
I created unbutton programmatically in a function and now i want to disable it from another function in ViewController in iOS Objective C. -(void)...
11 months ago

Mail() Not Working inside Function

PHP
The function below is not being executed: function sendCode(){ $our_mail='username@gmail.com' $to=$email; $msg= "Hi $first_name, \n\nYour email ha...
11 months ago

Scraping a html table - python

Python
I'm having a problem scraping a table from a html. Actually it is 3 tables inside a bigger table. I'm using BS4 and it works fine up to the point of f...
11 months ago

Extracting data from Wikipedia table (titles of episodes)

Python
I'm trying to extract the titles of TV episodes from Wikipedia's tables, using BeautifulSoup and Python. For explaining what I;ve done so far, I'm usi...
11 months ago

Ruby on Rails 5.0.1 missing '_comments.html.erb' partial

Ruby
I know there are lots of solutions posted on both stack and google in general for this error, but none of it worked for me, so please don't just c/p s...
11 months ago

How to show second action sheet on clicking a button in first action sheet, Swift

Swift
I am able to show the editPhotoActionSheet by calling showActionSheetToEditPhoto(). When I click delete button in editPhotoActionSheet I would like ...
11 months ago