How to start script in HTML without <script> tag?

I'm using a low-code development platform called WaveMaker right now, and it gives you the option to customize the "markup" of the page (HTML, but you can't really edit <head>; the whole thing is kind of weird), the Javascript of the page, part...
more »

2017-06-15 20:06 (2) Answers

A-frame Random page reloads/refresh

I've been working on a VR game within A-Frame. When I started testing on devices (iPhone 7/iPhone 7 Plus running Safari, and Samsung Galaxy S6 running Chrome), I began to notice the page would randomly refresh, which is an issue for us, as it restart...
more »

2017-06-15 18:06 (1) Answers

keyup function performing weird

So I got a little codepen. Everything works so far except a little thing. I got a <h1> and an <input>. When I type something in the text input, its value should get passed to the <h1> in realtime. I tried to do that with a keyup fu...
more »

2017-06-15 15:06 (2) Answers

How to move a div in semi circle

here is my .html file <div class="progress"> <div class="barOverflow"> <div class="bar"></div> </div> <div id="b" style="position:absolute;"> <img src="assets/Mostly_Cloudy.png" /> </div> &...
more »

2017-06-15 11:06 (4) Answers

Legend showing undefined in angular chart

I'm using angular-chart.js to draw charts in my application. But i am facing a problem. Chart legend is showing undefined instead of labels. My js code: $scope.labels_std = ['Total Students', 'Submitted fee', 'Has to submit']; $scop...
more »

2017-06-15 11:06 (1) Answers

jQuery Unexpected token in JSON for valid input

I am getting the below error. I am not sure where I get the ' symbol in the JSON. I have double checked and sure that the json_encode function of PHP does not add the ' symbol in the first position. I have seen other question and solutions in StackO...
more »

2017-06-15 11:06 (1) Answers

Fade out after animating SVG fill color

I'm trying to do an animation of a simple svg checkbox. <svg class="checkbox" xmlns="http://www.w3.org/2000/svg" version="1.1"> <circle class="circle" stroke="green" stroke-width="2" cx="26" cy="26" r="25" fill="transparent"/> <...
more »

2017-06-15 01:06 (2) Answers

Javascript mapping of new Array()

new Array(3)returns an array of length 3 containing 3 undefineds which is equivalent to [undefined, undefined, undefined]; However, [undefined, undefined, undefined].map((val, i) => i) produces the expected result of [0, 1, 2]. But new Array(3)....
more »

2017-06-14 18:06 (3) Answers

Arrays merging and Json encoding

I generate an unknown number of arrays like this: for ($t=0;$t<2;$t++) { for ($xx=0;$xx<$totf[$t];$xx++) { $otdata[$t][$xx] = array("".$otname[$t][$xx]."" => ['games'=> $otg[$t][$xx], 'mint'=> $otqmint[$t][$xx],...
more »

2017-06-14 11:06 (1) Answers

Counting the number of hits to my webpage

I have developed a webpage for the internal monitoring of some services of my company. We wish to record the number of hits on the page and display it real time. I have gone through the questions : Determine how many times webpage has been accessed...
more »

2017-06-14 10:06 (2) Answers

What are the platform common classes in Kotlin?

I'd like to use Kotlin to define interfaces between client and server. Currently, Kotlin can be used in 3 platforms: Java, Android, Web(JS). What Kotlin build-in classes can I use across all these platform? I would expect some common library depen...
more »

2017-06-14 09:06 (1) Answers

CSS-filter transition

my query is : Whenever I press any button for the first time, the image successfully transitions to the desired filter in 4 seconds. But when I press another button the transition takes place immidiately without 4 seconds. How do I make the picture c...
more »

2017-06-14 08:06 (2) Answers

Responsive File Manager open image as Gallery

I'm using Responsive File Manager for web file manager in my project. It is working fine. Problem My problem is when I open the image, It shows the preview in lightbox modal. how can I make it Image as image gallery like navigating between Image....
more »

2017-06-14 08:06 (0) Answers

Flow Player Not Working For in Asp.Net C#

I am working in asp.net c# project, in that i have to play videos from folder path. iam trying below code, the video path binding in datalist is correct, but when i press play button its always spinning, no videos display <asp:DataList ID="DLVid...
more »

2017-06-14 08:06 (0) Answers

How to subtract date in angularjs

I try make list from curent date until last 31 days. I try use ng-repeat to make list today until 31 day. I can make list but not date. I try code like this HTML <ion-list> <ion-item class="animate-repeat" ng-repeat="i in rep"&...
more »

2017-06-14 08:06 (1) Answers