42 Topics
| |
Dear All, (first of all I am a beginner!!!) I have a project single-page web application (php, mysql, jquery, angularjs). I have questiong regarding angularjs and php how to pass url parameter to php variable? public_profile.php?user_id=7 I know basics of angularjs routing, and it works fine. The problem is when … | |
I have an Angular application that I am trying to debug in VS Code. When I write code in a particular typescript file and put a breakpoint on a method or statement, it is bound. But when I try to debug through **Run > Start Debugging**, the breakpoint becomes unbound. … | |
Has anyone done a facebook share for web and android versions for angular 12 with capacitor 3? Has to send image and text. I am not sure even if this is possible? import { Share } from '@capacitor/share'; await Share.share({ title: 'See cool stuff', text: 'Really awesome thing you need … | |
![Screenshot_2022-01-26_at_11_35_23_AM.png](https://static.daniweb.com/attachments/4/2e399a803624c97ab50d1bd90a65d88f.png) Hello i want to retrieve multiples values from single column on db. And i did. They are shown on Console (Painting, Illustration, Graphic Design) but when i put the values on ion-toggles with ngModel only one is set to true. As you may see on the screenshot the values … | |
Hello I want to send multiple values from a to an api function. on the db i store the values in text format. The value that is stored is array on the Swal alert, I am getting [object object] but i want to get each value e.g. Painting or Graphic … | |
Hello i have an Angular 12 project and i want to retrieve all results in artisticBehaviour (except those who are NULL or same e.g. Actor, Actor) column in Users table. ts function that i call all users from Users table. allArtistsSet() { this.userData.allArtists(this.offset).pipe( map((data: any) => { if (data.success) { … | |
Hello i have a Ionic Angular project with PHP as backend. I created a search for users but in order for the project to run more faster i put a LIMIT of 20 users in the php function that calls the users and call the next 20 with an Angular … | |
Hello i want to add external .js files into my Ionic Angular Project Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 5.2.3 @angular-devkit/build-angular : 0.901.11 @angular-devkit/schematics: 9.1.11 @angular/cli : 9.1.11 @ionic/angular-toolkit: 2.3.0 Utility: cordova-res (update available: 0.15.2) : 0.15.1 native-run (update available: 1.3.0) : 0.3.0 I created a js … | |
Hi,my friend and I are making our student project.And so far we create our 'back end' but in front (angular) somehow we are not able to get new socket.id when user change room.I will share your code with me hope someone will be able to help. This is our ANGULAR … | |
Hello i want to display the values of this api response. Like this Producer: Simon Writer: Simon person1: [[{value: "Producer: Simon"}, {value: "Writer: Simon"}]] 0: [{value: "Producer: Simon"}, {value: "Writer: Simon"}] 0: {value: "Producer: Simon"} 1: {value: "Writer: Simon"} I tried this but i am getting `{}` <div *ngFor="let media1 … | |
Helloi want to put a play/pause button on a html5 video tag. Any suggestions? | |
Hello i want to upload an audio file(.mp3). The file is uploaded on the folder, the value is inserted on the db (MySql) so far so good. But when i try to play the file on the uploads folder is says its corrupted or extension is wrong.the value is not … | |
I have a search script that a user may search persons etc. I want to display a message if what he or types doesn't exist in the array. By default, I display some results and it displays the desired person when one writes on searchbar. but I want to show … | |
Hi, Was wondering if anyone had any information on how to create a word document on the client side in Angular? I was using jspdf to create PDF's which was really good but the documents need to be editable so having to look at how to create word documents. I … | |
Hello i want to make a video player with HTML5. I t has to have other angular tags and an object inside the <video> tag. The source code below explkains what i want to do. Is it possible? Any suggestions? <video controls preload="metadata" style="width:100%; height:100%;z-index: 100"> <source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" /> … | |
Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] … | |
bar_chart.html <html> <head> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> </head> <body> <script> FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'doughnut2d', renderAt: 'chart-container', width: '450', height: '450', dataFormat: 'json', dataSource: { "chart": { "caption": "", "subCaption": "", "numberPrefix": "$", "paletteColors": "#5b9bd5,#ed7d31,#f2c500,#f45b00,#8e0000", "bgColor": "#ffffff", "showBorder": "0", "use3DLighting": "0", … | |
| I have two menu as Course and Manage Courses. When I click on respective menu it shows selected. But when I click on single course in edit mode, that time I want to show Course menu as selected. Kindly help me to get this problem resolve. |
I am planning to build an app in nextcloud but what is the front-end framework i should choose?. I have found the nextcloud repo having angular 1, but the i find it being an old framework, Is there option to use Angular 2 or higher. otherwise which is the best … | |
I am trying to get the add button to enable if I select a valid file otherwise disable it. Also i'm trying to show messages if an invalid file is selected. The code below doesn't not seem to generate the desired result: <form name="myForm"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Add … | |
Hi guys, I'm fairly new to angularjs 2 (I've only used 2) and I have a small application with a form. Currently I'm able to get the form data as an objects and print it to the console.log, onSubmit(form: any):void{ console.log(form); } producing this: Object {author: "Author test", title: "Title … | |
I have configured node V6.10.3 and npm 3.10.10. I have attached the screen shot kindly please check. My platform is ubuntu 14. I have run the command : npm start after that only blan page opening htt://localhost:4200 Kindly help me to get this problem resolve. | |
I am implementing **Attribute Based Access Control** in angular typescript application with rails server. I've searched for different solutions like followings but could not manage to implement cause of unclear solutions. 1. [Custom Roles Based Access Control RBAC in ASP NET](https://www.codeproject.com/Articles/875547/Custom-Roles-Based-Access-Control-RBAC-in-ASP-NET) 2. [simple attribute based access control with spring](https://dzone.com/articles/simple-attribute-based-access-control-with-spring) The … | |
I am trying to add custom button in CKEditor. I am using this CKEditor [ng2-ckeditor](https://github.com/chymz/ng2-ckeditor). It is working fine. but I want to add a button. on cliking this button will add a rails template tag Example: I can add the button like example below, but I dont know how … | |
Employee.php <div class="col-xs-12"> <h2>Listing Employee</h2> <hr> <div class="employeeGrid"> <table> <tr> <th><a href="" ng-click="orderByField='name'; reverseSort = !reverseSort">Name</a></th> <th><a href="" ng-click="orderByField='age'; reverseSort = !reverseSort">Age</a></th> <th><a href="" ng-click="orderByField='gender'; reverseSort = !reverseSort">Gender</a></th> <th><a href="" ng-click="orderByField='company'; reverseSort = !reverseSort">Company</a></th> <th>Action</th> </tr> <tr ng-repeat="person in employee | orderBy:orderByField:reverseSort""> <td>{{person.name}}</td> <td>{{person.age}}</td> <td>{{person.gender}}</td> <td>{{person.company}}</td> <td> <button class="btn" ng-click="viewEmployee(person.id)"><span … | |
The code below opens a modal window successfully. When I attempt to open the modal window after closing it, my browser window freezes. To unfreeze I press the escape button on my keyboard. Employee.php <div class="modal-footer"> <button type="button" class="btn btn-secondary" ng-click="closeEmployee()" data-dismiss="modal">Close</button> </div> EmployeeModalController.js <div class="modal-footer"> <button type="button" class="btn btn-secondary" … | |
I am attempting to create a simple project for the subject matter for learning and discovery purpose however it doesn't seem to work. My rest API works well but the integration of AngularJS with Laravel doesn't work. You can pull my mini project from [Click Here](https://github.com/solomon13000/angulara). Your help is kindly … | |
hi I'm trying to run karma test runner on angular-seed project I downloaded from git with no success always I get errors, here is the repo im using this version https://github.com/angular/angular-s...16dfcf0522ecbc I installed jasmine and karma and node.js and karma-chrome-launcher I installed all this using the npm package manager that … | |
| I have a SPA which uses an AngularJS front end and C# back end. The issue I'm having is when I navigate to the login page, it is using @Html.Partial("_LoginPartial"). The url then becomes .../Account/Login. When I click on say the "About" tab, this uses an AngularJS route which in … |
Hi guys, I will soon have a licence to run webstorm on one machine (at work) but I need to think of some other free IDE which supports typescript ideally natively on a different laptop running windows and linux (at home). I had a look around of course, but as … |
The End.