0 Answer
  • 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

manipulating slider with jquery

<button aria-describedby="--stacks-s-tooltip-xmnekxbd" aria-label="Bookmark" aria-pressed="false" class="js-bookmark-btn s-btn s-btn__unset c-pointer py4 js-gps-track" data-controller="s-tooltip" data-gps-track="post.click({ item: 1, priv: 0, post_type: 1 })" data-s-tooltip-placement="right" data-selected-classes="fc-yellow-600"></button><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" height="18" viewbox="0 0 19 18" width="19"></svg>

 

i have this very basic slider

      "width_id" ng-model="width" min="20" step="1" max="320">                          

i want to check every 4 seconds the value from other element whose class is yyyy and i can say that it is giving desired result when i run in console

setInterval(function() {
var testtyyyuy =$(".yyyy").outerWidth()+60;

//$("#width_id").value(testtyyyuy);
$("#width_id").attr("aria-valuenow", testtyyyuy).css("width", testtyyyuy);
}, 40000);

gives error

   VM64:1 Uncaught TypeError: Cannot read property 'attr' of null

i have tried aria-valuenow because after the html is loaded it adds the value of slider in aria-valuenow

but when i run that code i get error

i tried slider also

$("#width_id").slider('value',300);

but it gives error

 VM60:1 Uncaught TypeError: Cannot read property 'slider' of null

any help is getting this will be helpful i get the correct data from var testtyyyuy and it has been verified in console