|
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 code import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { Observable } from 'rxjs'; import { io } from 'socket.io-client'; import { environment } from '../../../environments/environment'; import { LoadingService } from '../../shared/services/loading.service' import { ChatService } from './chat.service'; @Component({ selector: 'app-chat', templateUrl: … |
0
17
|
||
|
Which programming language used for the below url? How to know the programming language of particular website? htt ps ://www.f orm1099onli ne.com/ |
0
77
|
||
|
Rick is really fond of fruit juices, but he is bored of their traditional flavours. Therefore, he has decided to mix as many of them as possible to obtain something entirely new as a result. He has N glasses, numbered from 0 to N-1, each containing a different kind of juice. The J-th glass has capacity[J] units of capacity and contains juice[J] units of juice. In each glass there is at least one unit of juice. Rick want to create a multivitamin mix in one of the glasses. He is going to do it by pouring juice from several other … |
0
95
|
||
|
I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a bar under the day to highlight it Example: if today is Friday, Fri becomes a different color than on other days I've seen similar things on web pages, but I don't know where to start. Is there anyone who can help me? Thanks |
1
156
|
||
|
I want to create a tool for my website that convert word document to html form and vice versa. I don't know the process how it works. I wnat to make it in JS, PHP or codemirror. I dont know how and where to start. Thanks. |
0
43
|
||
|
Good morning, I state that I am a beginner, I kindly need help from you. I made a page containing a form that submits data to a database. Everything works perfectly. I would now need to send the data to my email address at the same time. The form contains name, email, text1 text2 and text3. I have tried in every way but without getting any results. Thanks everyone for the help. A favor to be very simple in the explanation, just because they are at the first steps. |
0
69
|
||
|
Hi i have a couple of select element which are returned from a map function. When i try to change the value/option of one select element all the other select elements options change according to the option i select for the one and i don't want that. I want all the other select element to change only when i select an option from them. I Have been battling to achieve this and it seems i can't really get the hang of it considering i just started learning react. I could really use some help. Below is my code snippet. Thanks … |
0
17
|
||
|
Hi everyone, I just want to ask if how i am able to make an if else statement inside a switch case. i want to execute something wherein the user may be able to choose again if he/she would like to do another transaction. for example, the user choose Yes the program will automatically display the main menu option and if the user doesn't want another the program will automatically print "Thankyou for using the program" |
0
150
|
||
|
Can anyone suggest me which one is a better platform for e commerce website development? |
7
3,243
|
||
|
Hello there! Im an NodeJs instructor. Iam an experienced Crash course instructor. Marina is my student. She has to access my API. I have only the CPANEL hosting. How do i host NodeJS in Cpanel. Kindly help. Waiting for your feedback. Please help. Urgent Best Regards Lakshmi Swaminathan |
0
28
|
||
|
Hi i'm a beginner in Java. I have school assigment where they want to save employee array to the file and can load it back with replacing the current array in GUI when it hit button save or load. Also, if i want to save or load the array with the specific file name from JTextField what code should i include. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.ActionListener; import java.io.FileOutputStream; import java.util.Scanner; import java.awt.event.ActionEvent; import java.io.*; import javax.swing.JOptionPane; public class Etracker { public static void main(String[] args) { Etracker etk = new Etracker(); Etracker file = new Etracker(); etk.getInput(); … |
2
89
|
||
|
What is a “MIME type”, what does it consist of, and what is it used for? can anyone pls provide with example? |
-1
63
|
||
|
JQ is taking a car trip with his family. On the trip, he will stop for fuel, food or lodging. When stopping for gas, JQ will record the amount of fuel he is willing to pay for. When the family stops for lodging, they will also have a meal. JQ is only willing to spend a maximum of $75 on accommodation. If the motel manager says the price is greater than $75, JQ will complain “We will look elsewhere”. If the charge is less or equal to $75, he will pay the amount and exclaim “Wonderful, we will stay!” JQ … |
0
62
|
||
|
I have a project where I need users to be able to save their work, then at a later date select the session/data from their previous work and continue. I have completed all of the coding (and it works) to save the current session under their userid, and populates a table with their work. I now want to be able to give the option to retrieve all of the rows in a table and be able to select a row to load. I have previously created a form where i populate a single field into a drop down and select … |
1
219
|
||
|
i want to know how to create qr cde in php |
0
45
|
||
|
Hi, I'm having trouble using the $(this) identifier in JQuery. I'm using the qtip plugin, and I want to send an ajax request, which can be done with the plugin. I'm trying to pass the id of the element to the script but it's not seeming to work - the script doesn't pick up any value (I know it works because I passed a fixed integer and it worked) Here's my script: [code] <script> $(document).ready(function(){ $('div.portal_entry.smalldetails').qtip({ content: { url: '/Scripts/ajax/portal_qtip.php', data: { id: $(this).attr('id') }, method: 'get' } }); }); </script> [/code] And the HTML: [code] <div class="portal_entry smalldetails" id="b63"> … |
0
9,064
|
||
|
Hello everyone! The handoff between design and development has always been torture for me. I know that there are several cool handoff tools, that can ease the process, but recently I've read an article https://ester.co/blog/figma-vs-sketch and an idea come up to my mind. Do these design tools have any relation to development? The only point I know is that Figma now tests the capability of its designs to be converted into the working code with the help of React. What do you guys think? |
0
19
|
||
|
I'm trying to redirect user to "userinfo.php" after successful registration, but the browser terminates the redirection because it goes into endless loops. |
0
27
|
||
|
def fib(num): if num<=1 return num return fib(num - 1) + (num - 2) num = int(input("enter a number higher than 0: ")) print(fib(i)) |
1
63
|
||
|
Hi all,` The below code is giving me problems. <?php $ddaa = $pdo->query("SELECT id, stockname, stockno, producer FROM storemaster order by stockname");; while ($data = $ddaa->fetch(PDO::FETCH_ASSOC)) { echo '<option value="'.$data['stockno'].'" data-producer="'.$data['producer'].'"> '.$data['stockname'].'</option>'; } ?> This is the script: <script> $('#stockname').on('change',function(){ if($(this).val() !=0){ $('#stockno').val($(this).val()); $('#producer').val($(this).attr('data-producer')); } }); </script> All I wanted from this code is when I click a stockname from the dropdown list, The stockno and producer textbox should be fetched. But now only the stockno is fetched and the producer is null. Please help out. Thank you. Emeka |
0
26
|
||
|
I am trying to hide a radio button based on wether or not a user is an admin <?php if (($_SESSION['admin']) == 0) ?> <script>document.getElementById('adminbutton').style.display = 'none' </script> <?php if (($_SESSION['admin']) == 1) ?> <script>document.getElementById('adminbutton').style.display = 'block' </script> Obviously the above doesn't work.. Any help is, as usual, greatly appreciated. Thanks |
0
45
|
||
|
Hi Guys, I have been recommended to join up with a company called [Appoly](https://www.appoly.co.uk/) to complete my mobile application, would this be a good idea? If anyone could help me out, I would appreciate that. :) |
0
22
|
||
|
Help me to solve the task. Create function which consider letter in word. Example: func(“Eduard”) return E: 1, a: 1, d: 2, r: 1, u: 1 |
0
17
|
||
|
Hello Member, I am doing front end development from the last 2 months. I have got 1 project from a client. Almost the work is completed but now the client is also demanding for right click disabled for all webpages something like [this](https://www.usersadvice.com/). I have done it but the source code of the site open when pressing the shortcut keys CTRL+U how can I also disable view of source code? Any help is appreciated. Best Regards Darren |
0
27
|
||
|
I would like to start building a search database, by providing a portal for users to search a search engine, like Google. Is it possible for a visitor to the portal site, to present to Google their own IP address, instead of the portal site's IP address? Is it also possible, for the portal to access the search result, so that it can use the results to build a search database? |
2
185
|
||
|
Hello. Is there anybody here who's eager to help me building a webgame? It's mostly written in PHP and there are some Javascript and CSS files included. I put it on Github. I haven't been using a framework (yet). If you first want to know more, just ask (of course). Leon |
0
58
|
||
|
Heya, have been in the lookout for some good Javascript resources. So far have been [practicing](https://www.interviewbit.com/javascript-interview-questions/) from Interviewbit, Edureka and those freely available sources on the net. It would be great if ya'll could share few important topics that are most likely to be asked in the interviews as well as topics that are crucial to work on projects in companies. Thanks in advance. |
0
32
|
||
|
Please give any idea |
1
1,031
|
||
|
Hi everyone, I am currently building a wordpress site related to the photo which will be used to carry out many social projects. It's been months that I block on one subject, I am looking desperately for a person who would have the kindness and the skills to bring me help. My problem: RGPD compliance third-party cookies The situation is as follows, I have installed Google Tag Manager, it is functional, I am trying to configure it to "block" all third-party cookies on my site, while the user gives his consent to use these third-party cookies. When he clicks on … |
0
76
|
||
|
Good day y'all, Im an intermediate Python dev and I've just finished building my first major Python project with UI. I tinkered a lot with tKinter (pun almost unintended) and even tried PyQT5. Both of these are time consuming to work with and tKinter's GUI looks like it shouldve been abandoned in 2005. Thats when my quest of finding an easy and modern looking UI Library started. And then I found Python Eel. Eel isnt a GUI Library like tKinter, but it can help link up python as backend with HTML/ CSS as the front. I didn't really know HTML … |
0
44
|
The End.