• Register
search
Log In

Recent questions tagged javascript

0 votes
1 answer 7 views
Problem: I have fundamental knowledge in PHP. Recently I have written a php code for bootstrap collapse but I am facing the error as below: "Cannot read property 'querySelectorAll' of null." I have spent a huge amount of time to this very simple problem. If I try ... js:378) at Function.each (jquery.js:368) at jQuery.fn.init.each (jquery.js:157) at HTMLButtonElement.<anonymous> (collapse.js:374)
asked 5 days ago Raphael Pacheco 720 points
0 votes
1 answer 6 views
Problem: I want to create the search box for the states, districts and villages but because of some unknown reason to me I am just unable to fetch my data into the combobox. Please find my code as shown below: My HTML code: <div class="dummy__item">  < ... below task: Dynamically populate a select element from json data with jquery . I am looking for the expert in Javascript , Jquery and Json.
asked Jul 2 Raphael Pacheco 720 points
1 vote
1 answer 10 views
Problem: I have recently started learning the AngularJS. I have gained the fundamental knowledge in AngularJs with the help of online tutorials so I was just experimenting I started facing below error: Uncaught Error: [$injector:modulerr] Failed to instantiate module. Please find below my ... </div>         </div>     </body> </html> Kindly help me in fixing my above error related to AngularJs.
asked Jun 12 Martin K 6.6k points
1 vote
1 answer 18 views
Problem: I have fundamental knowledge of Javascript. I am currently trying to use the google autocomplete places javascript to return the suggested results for the searchbox my requirement is to only show a city and a country related to a characters entered but my google api will give ... " type="text" size="50" placeholder="Enter a location" autocomplete="on">    </div> </body> </html>
asked Jun 10 Martin K 6.6k points
1 vote
1 answer 15 views
Problem: I have recently started learning the Javascript, Jquery, Html . Please find below my code to show the input fields depending on the radio selection like: Please find below my Script: <script type="text/javascript"> function myyesnoCheck() {     if (document. ... br> I am trying to show and hide my Input Fields Based on the Radio button selection. Kindly guide me in this task.
asked Jun 10 Martin K 6.6k points
1 vote
1 answer 33 views
Problem: I am very new to node so I think I am making something extremely wrong here as I am unable to find any info at all by doing research online. I already have the django site and I required the JS charting library so I chose the chart.js. I have ... build a chart. Failed to create chart: can't acquire context from the given item . Please help me in fixing above NodeJs elated error.
asked Jun 4 Martin K 6.6k points
1 vote
1 answer 47 views
Problem: I have elementary knowledge of Jquery and Javascript. Currently I am working on the pagination and I am trying to use the DataTables plugin. I have observed that on some of the tables it works as expected but on some of my tables it gives below error: " ... it is very common error but I am unable to find anything related to my problem. Kindly help me if any Jquery expert is around.
asked Jun 2 Martin K 6.6k points
1 vote
1 answer 13 views
Problem: I have written a very simple application. Please find below the code for my simple application which is calling the API in each second. After each of the call a chrome memory allocation size for that particular tab increases continuously. But not by the reducing that memory. ... xhttp.send();     } </script> </body> </html> Kindly help me in finding out the root cause of this issue.
asked May 27 Martin K 6.6k points
1 vote
1 answer 12 views
Problem: I am beginner to Javascript and Html. I have recently started learning both Javascript and Html with the use of online tutorials. Currently I want to do as shown below: function stickyheaddsadaer() {         $("#page-header-inner").addClass("sticky");     } < ... should add the class to a div. Looking for the help from Javascript expert who can try and help me in fixing my above issue.
asked May 18 Martin K 6.6k points
1 vote
1 answer 16 views
Problem : I am very new to ruby-on-rails and reactjs. I have recently joined a new project. If I try to iterate through my variable mybadges and try to display each badge then I face below error : Each child in an array or iterator should have a unique "key" prop. ... error but was unable to fix it. So now I am looking for ruby-on-rails and reactjs expert who can help me in fixing above error.
asked May 4 stewart 4k points
1 vote
1 answer 31 views
Problem : I am very new to Vanilla JavaScript. Currently I am learning Vanilla JavaScript as I need to use the Vanilla JavaScript for my current project. I have already written many functions one of them has a button in it which should open the menu and it only ... spent a lot of time in fixing target id issue so looking for Vanilla JavaScript experts help who can suggest quick fix on above error.
asked Apr 23 stewart 4k points
1 vote
1 answer 22 views
Problem : I am new to Google Maps. Currently I am trying to create the page that should be able to generate the dynamic numbers of Google Map. But my newly created webpage always shows me below message: Geocode was not successful for the following reason: ... re confirmed that my Geocoding API and Javascript API are also enabled. I am looking for the expert help on my Google Maps issue.
asked Apr 17 stewart 4k points
1 vote
1 answer 18 views
Problem : I have recently started learning about Vue. Please find below my main javascript file: import Vue from 'vue' new Vue({   myel: '#app' }); Please find below my HTML file: <body>     <div id="app"></div>     <script src="{{ mix('/js/app.js') } ... do not have any thing inside a #app div where I am trying to mount Vue and still facing the template or render error? How can I fix above error?
asked Apr 17 stewart 4k points
1 vote
1 answer 10 views
Problem: Hello good souls, var myarr1 = [1, 2, 3, 4, 5]; var myarr2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; I have two simple arrays like above. I want to sort out the common values between those two arrays. So can you find common elements in two arrays javascript for me? Please keep the program as simple as possible that I can understand easily. Thanks for your effort and valuable time buddy.
asked Apr 6 Gavin 15.2k points
1 vote
2 answers 205 views
Problem : Currently I am learning Javascript. I know the expression false && anything is short-circuit evaluated to false. According to this information I can certainly expect false && true || true must be evaluate to the false. But this is not the case. I saw ... me in finding correct solution of below question. &ldquo;What is the value of the following expression? true || true && false&rdquo;?
asked Apr 6 morrisBson 3.2k points
1 vote
1 answer 13 views
Problem: Hello Kodlogers, I&rsquo;ve completed the basic Java courses a few days ago and now focusing on web-based programming languages. I just started JavaScript as my first preference. But the problem is I don&rsquo;t know the attribute, function or method very well in JavaScript. Yeah! I know its foolish. Could you please shed some light on this? Thanks for your help guys.
asked Apr 6 Gavin 15.2k points
1 vote
1 answer 15 views
Problem: I just jump into the JavaScript learning process. I am grabbing the language day by day gradually. I want to declare an object or an array in my code and check whether the key is available or not in it. So, let me put my question this way, in javascript check if key exists in array? I&rsquo;d really appreciate your effort and help. Thanks a lot, mate.
asked Apr 6 Gavin 15.2k points
1 vote
1 answer 23 views
Problem : I have recently developed one page which I guess takes more time to load in the asp.net website. My page currently works with all the Android OS, all of the MAC OS and all iOS but it fails with iOS with version 10.0.0.2 with only safari browser. If I ... the DNS server Tried the Airplane mode on-off Also did my iPhone restart But still unable to fix it. Can someone help me in fixing it?
asked Apr 1 morrisBson 3.2k points
1 vote
2 answers 71 views
Problem : I am beginner to the monaca. Currently I am trying to install the monaca with the use of below command. npm install -g monaca But I am facing below errors after executing above command: npm WARN checkPermissions Missing write access to /usr/local/lib/ ... /lib/node_modules' } I am struggling with above error from past couple of days. Can somebody help me in fixing above monaca error?
asked Mar 27 morrisBson 3.2k points
1 vote
1 answer 35 views
Problem : I am beginner to Angular Js. I am trying to learn the AngularJS. Below is my code from my controllers.js file. 'use strict'; angular.module ( 'F1FeederApp.controllers' , [ ] ) .controller ( 'driversController' , function ( $myscope , myergastAPIservice ) ... url not allowed by $sceDelegate policy&rdquo; I am unable to figure out the cause of this error. Can someone guide me in fixing it?
asked Mar 27 morrisBson 3.2k points