14,053 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I am trying to follow the following tutorials: https://www.w3schools.com/angular/angular_tables.asp <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table> </div> <script> var app = angular.module('myApp', []); app.controller('customersCtrl', function($scope, $http) { $http.get("customers.php") .then(function (response) {$scope.names = response.data.records;}); }); </script> It produces a customer table. …

Member Avatar for jstfsklh211
0
287
Member Avatar for davy_yg

Hello, I have been experimenting with Fusion Chart. I have been following this tutorial: https://www.fusioncharts.com/dev/chart-guide/getting-started/using-xml-as-data-format and trying to take the chart data from xml yet it does not works. bar_chart_xml.html <html> <head> <!--<script src="angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script> <script src="angular.js"></script> --> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript"> FusionCharts.ready( function …

Member Avatar for Dani
0
944
Member Avatar for xrjf

Here I present a WebSite containing just Default.aspx. Current snippet code has to do with coloring text in an input field of a web page. The input field is an editable DIV HTML element. While the user writes, there is a partial post (an XMLHttpRequest) to the server. Then the …

0
314
Member Avatar for Mr.M

Hi Guys. I'm having a serious problem that is holding me back. I have a file which is a user dashboard and this file gets data from another php script file which is called by a user login screen when a user clicks login. The file verify the credentials then …

Member Avatar for Daniel_87
0
23K
Member Avatar for davy_yg

Hello, I am trying to create a bar chart with angular. I am following the following guidance: https://www.fusioncharts.com/angularjs-charts/ I wonder why it does not works. I only see a blank screen when running bar_chart.html bar_chart.html <html> <head> <script src="barchart_data.js"></script> <script src="angular-fusioncharts.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> </head> <body> <div ng-app="myApp">...</div> <div ng-controller="MyController"> <div …

0
402
Member Avatar for davy_yg

program1.php <html> <header> <script> function myFunction(p1, p2) { return p1 * p2; } document.getElementById("demo").innerHTML = myFunction(4, 3); </script> </header> <body> <div id="demo"></div> </body> </html> I don't understand why the above code does not show any value? and why this one does? program2.php <html> <body> <div id="demo"></div> <script> function myFunction(p1, p2) …

Member Avatar for ryantroop
0
459
Member Avatar for Misty_3

Hi, I am trying to get these fields to highlight when clicked: 'search conducted', 'contraband', and 'arrest result of stop'. I have tried with Dreamweaver CC, but the particular thing I'm trying to do just won't work. Thanks in advance!

Member Avatar for BinaryDigit
0
194
Member Avatar for Mr.M

Hi DW. I'm trying to post data without refreshing the page using the ajax, and its works fine the problem is that on the response I also get the array data that I posted to my php file then at the end of response is the returned data which is …

Member Avatar for Mr.M
0
489
Member Avatar for divinity02

hi all I am doing a form where i have to validate the email, all of the other control is working just the way it is supposed to work but I have been trying to validate the email for the longest while and it is not working properly or better …

Member Avatar for pty
0
281
Member Avatar for Sebastiano

Hi all, I'm trying to make a Facebook login for a website, which also stores users' data who log in. In order to do this, I do have an index.php <script> // This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { console.log('statusChangeCallback'); console.log(response); // The response object …

Member Avatar for Sebastiano
0
973
Member Avatar for Mike_51

I know this question is a lot easier than it seems, but I can't seem to get around it. This is my current code and I cannot get it to properly check if the SSN number is in a proper format or not. It just says all is false. This …

Member Avatar for john_111
0
453
Member Avatar for aqqa

can i perform biometric process in php language if this is possible ,please give me some suggestion,.. if this is not possible then tell me how integrete c# or java biometric module in php

Member Avatar for ryantroop
0
260
Member Avatar for janicemurby

hi ive done a piece of code for if select a region the postcodes pop up for that region all works on a seperate file but if i put on my working script it doesnt work any help would be much appreciated here is test code <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for AndrisP
0
359
Member Avatar for Jon_7

I have a yearly curriculum for my basketball workouts that I'd like to display online. I've created 53 unique workouts for each day of the week that include the main focus for the day, 6 drills, a quote, and a motivational story. I know I'd need a [datepicker](https://jqueryui.com/datepicker/) to accomplish …

Member Avatar for Jon_7
0
701
Member Avatar for Syed_18

Hi This question or similar were 4 years ago has already been asked but in my situation did not help. I have codeigniter project. in my employee database I have TINYINT field status. if 1 employee is active otherwise inactive. my form is in bootstrap modal. here is switch button …

0
306
Member Avatar for Kang_1
Member Avatar for Anthony_22

i have been trying to upload image files in to my database but i failed in many ways, the form saves everything except the image files. i am not sure if its the php or the java or the html page, honestly i lost my path. i have included all …

Member Avatar for ryantroop
0
651
Member Avatar for alex910TN

Hi guys, I am trying to implement my first carousel on my website. I have 5 images with the same dimensions with the following HTML markup: <div id="myCarousel" class="carousel slide"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> <li data-target="#myCarousel" data-slide-to="3"></li> <li data-target="#myCarousel" data-slide-to="4"></li> <li data-target="#myCarousel" …

Member Avatar for Abdullah_19
0
46K
Member Avatar for davy_yg

Hello, I have a question: is it possible to modify this jquery script? https://www.jqueryscript.net/demo/Tiny-jQuery-Plugin-To-Create-Water-Ripple-Effect-Ripple/ I need the water effect only appears on certain place on the website and the ripple effect must appears repeatedly on one particular place. Here is the code for ripple effect: I wonder what to add …

0
394
Member Avatar for Jon_14

Hi, I have a shortcode in WordPress that returns a number for a user. I'd like to be able to sum multiple returns of this number for different users. So it would basically do; [shortcode answer 1]+[shortcode answer 2]+[shortcode answer 3]......... Can any one let me know if this is …

0
139
Member Avatar for Ritesh_8

Hi I am working on a payroll project and I am coding with php,html,js and mysql on xampp server. I have a salary sheet code which needs to be printed in pdf format for each employee with their names as the pdf filename. on running the php page the js …

Member Avatar for urtrivedi
0
7K
Member Avatar for chamki

Hello, Can someone help me in developing my coding skills. I wrote code factorial. I see different logic at different places but no where I found the one that I wrote. Please tell me if there is anything worng in the below javascript code.var btn = document.querySelector('button'); btn.onclick = function(){ …

Member Avatar for Reverend Jim
0
229
Member Avatar for niranga

Hi All, I have a PHP code which do some changes to the POST variables it receives and redirect the page to some other page. This PHP code was initially designed to work without Ajax. So there wasn't any problem with the redirect function and it perfectly handles the POSt …

Member Avatar for Mukul_2
0
13K
Member Avatar for jkon

Let me give you the context. We are a small company 5 persons , two owners and we do have a variety of interests. But to be honest the money flow comes from eshops , there we developed our own platform in PHP in a way that could be in …

Member Avatar for jkon
0
422
Member Avatar for patk570

Hey everyone, I have a JSON array that pulls data, its an immense amount of data that i use. It is a multilevel array eg: dateTime: 2018-12-04T10:30:45:222z comments:"" +Driver[0] [0] fname: John lname: Doe driverCode: DOEJ [1] fname: Mary lname: Smith driverCode: SMIMA more info etc I am trying to …

Member Avatar for ndeniche
0
3K
Member Avatar for patk570

I have a code that pulls a JSON response, and I need to compare times from now() and a previous when the timestamp was created. I am able to pull the info and have it display. However, when i try and get the comparison to work it just sits there …

Member Avatar for jkon
0
393
Member Avatar for Potato.Head

Hi to all, I have the following situation: I have an iframe and I want to display a loading animation to the user until the iframe is fully loaded, this is want I did: 1. I start the iframe with style:display:none 2. I have a div that wraps the iframe …

Member Avatar for SrinivasaRao_2
0
2K
Member Avatar for davy_yg

What are cool stuff that you can create with NodeJs? And is there tutorial for that? I heard that NodeJs can create something like JivoChat , is that true?

Member Avatar for pty
0
167
Member Avatar for davy_yg

Hello, Cek this effect. I am trying to modify the effect so that when I click a button the water effect appears on certain location. How to do that? http://www.advance-web-studio.com/effect/water-ripple-master2/demo/ index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ripple</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> …

0
208
Member Avatar for patk570

Question, I have a `$each(array, function());` and within that statement, i have a` for` loop , Is it safe to be doing this? and could this be the reason that i am getting the same values multiple times returned even though the object array length is 8, i am getting …

Member Avatar for Kannu_2
1
448

The End.