Question: In my code:(works well on tf1.0)

```
from tensorflow.contrib.rnn.python.ops  import core_rnn
from tensorflow.contrib.rnn.python.ops  import core_rnn_cell
from tensorflow.contrib.rnn.python.ops  import core_rnn_cell_impl

```

report error with tf1.2:
 from tensorflow.contrib.rnn.python.ops import core\_rnn
ImportError: cannot import name 'core\_rnn'

Answer: 
`setTimeout` is not a method of a jQuery element. Change your code as follows:

```
$('button').prop('disabled', true);

setTimeout(function() { 
  $('button').prop('disabled', false)
}, 3000);

```
```
 $('button').prop('disabled', true);
  setTimeout(function () {
      $('button').prop('disabled', false);
  }, 3000);

```