14,053 Topics

Member Avatar for
Member Avatar for Virat_4

This is how I want it to work. 1) First day. It goes to all questions that are asked within last 14 days. 2) It picks each question. Then it RANDOMLY picks 25 users and clicks on "+" to request. 3) It does this for each and every questions asked …

Member Avatar for Naor
0
223
Member Avatar for Virat_4

**Promises syntax that I learnt:** let p = new Promise(function (resolve, reject) { let x = 20, y = 20; if (x == y) { resolve(); } else { reject(); } }) p.then(function () { console.log("that's correct"); }) .catch(function () { console.log("that's not correct"); }) I don't even understand what …

Member Avatar for Naor
0
65
Member Avatar for ChrisJ

This php statement works successfully: if (empty($error) && $_POST['set_p_v'] == 0 && $wallet >=1) { //echo '<script type="text/javascript"> $("#myModal").modal("show")</script>'; $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet` - 0.50 WHERE $wallet = $user->wallet"); } as you can see I tried to echo a modal when conditions were met, but no success. No …

Member Avatar for Dani
0
95
Member Avatar for Marek3000

Hello! We are getting together for a new project, to build a 2-way API connectivity tool for programmers experimenting with new forms of e-commerce, and merchants operating across a range of e-commerce platforms. We would be grateful for any programming language choosing tips. We are looking for an experienced Full-stack/API …

Member Avatar for Dani
0
99
Member Avatar for Nicolas_14

Hi everyone! I'm just begining on JS so I think my code is not very good. I'm trying to store the results of my game each time it ends. unfortunately it doesn't work well all the time. Sometimes I have exactly what I want: one line per recording, sometimes I …

0
18
Member Avatar for Stefce

I am trying to open a camera on a browser with javascript i have this code and it was working yesteday but when i tried today to open through mobile its saying `NotAllowedError: The request is not allowed by the user agent or the platform in the current context.` <button …

Member Avatar for Stefce
0
227
Member Avatar for John_165

Why header background not changing to red and font style not changing to coiny? **index.js** import Head from 'next/head' import Image from 'next/image' export default function Home() { return ( <div className="min-h-screen h-full w-full flex flex-col bg-brand-light overflow-hidden"> <Head> <title>Create Next App</title> <meta name="description" content="Generated by create next app" /> …

0
43
Member Avatar for Chandra1611

Full-stack technology refers to the entire depth of a computer system application, and full-stack web developers are those who are capable of developing both the front end and the back end of web development. All of the features that are visible to the client, or the viewer of the site, …

Member Avatar for jwenting
0
73
Member Avatar for srijama

I have been developing WordPress websites for the last five years. My skills include developing plugins and websites such as mouse tests and keyboard tests. Learning more about development interests me

Member Avatar for Dani
1
32
Member Avatar for KID-joker

Hi, everyone! I'm maintaining a repository. [Proxy-web-storage](https://github.com/KID-joker/proxy-web-storage), keep the type of storage value unchanged and change array and object directly. And it also supports listening to the changes and setting expires. Can you give me some suggestions?

Member Avatar for pritaeas
0
21
Member Avatar for Uzo J

How would you write this into pseudo code #include<cstdio> #include<cstdlib> #include<iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) //variables string var, var1; float cm, mile, kilometer, inch, meter, AU, fahrenheit, celsius, foot, quit, i; //program i = 1; while (i <= 1000000000) cout << "Enter the starting unit. For …

Member Avatar for Reverend Jim
1
67
Member Avatar for FarrisFahad

I am trying to learn some basic concepts of JS. I want to start by moving a box which is inside a box. Here is the jsFiddle ... [https://jsfiddle.net/FarrisFahad/a1Lqchj8/1/](https://jsfiddle.net/FarrisFahad/a1Lqchj8/1/) I want to move the mouse on mousedown, mousemove, and mouseup

Member Avatar for gce517
0
21
Member Avatar for Pony_1

I really need help and i would apreciate if someone can help me with this I need to do the same than here but with .NET, instead of node js. I never worked with .NET before. Is my first time working with tokens and APIs. So i kinda need help …

Member Avatar for Dani
0
61
Member Avatar for lucifer_4

Hi, Hope you're all doing well. I need help with my site: https://4lolipop.com, I want to add my Instagram widget where people can click on it and land on my Instagram profile. I'm a newbie in Programming. Kindly assist. I'll be very thank full to you.

Member Avatar for Dani
0
49
Member Avatar for Lukas1

(Thank you Dani for approving this post!) Hi We are researchers from the University of Zurich, Switzerland, and developed a web application experiment for investigating ways to improve code review. If you have **javascript** knowledge, please help us in this **20 – 30 minutes** experiment by using the desktop version …

0
23
Member Avatar for Nicholas_27
Member Avatar for YT_AIGamer

I'm learning AI techniques by building a bot to play a video game. I'm documenting my process as I go. Any advice on topics I should research? Thanks! https://www.youtube.com/watch?v=1gSMtfPpJC0 ![1gSMtfPpJC0-HD.jpg](https://static.daniweb.com/attachments/4/39f13b12765ea54bd1b2a349e713eeaa.jpg)

Member Avatar for rproffitt
0
20
Member Avatar for sharmavinu0024
Member Avatar for Bidesh

What are the programming languages needed to learn to create a movie website? The movie website should also be capable to upload new movies. I have included php, javascript, and jQuery already.

Member Avatar for Dani
0
69
Member Avatar for Bidesh

I want to develop a social media website. So can anyone tell me the what are the programming languages needed for it? I have already included php, javascript and html. Can you suggest me with any powerful js library?

Member Avatar for odeskavita
0
84
Member Avatar for Bidesh

Basically, I have developed a Website, Now I want to upload some js files and generate a link for that. So I can use that in my local html file. Are there any websites that are capable to upload files and generate a link for it?. Please Answer.

Member Avatar for gce517
0
28
Member Avatar for YT_AIGamer
Member Avatar for Catherine King

How to pass the linkbutton text to the modal popup. Now Im only getting a empty popup <script type="text/javascript"> $("#linkbutton1").click(function(){ var text =$("#linkbutton1).val(); $("#modal_body").html(text); }); function openModal() {     $("#myModal").modal('show');     } </script> <div>     <div id="myModal" class="modal fade" role="dialog">         <div class="modal-dialog">             <div class="modal-content">                <div class="modal-header">                  <h4 class="modal-title">                         Modal Title</h4>                 </div> <div class="modal-body"> …

Member Avatar for Dani
0
726
Member Avatar for jonsan32

It's taken me months to figure out how to show/hide certain content by days throughout the year, but now I'm stuck because the code gets too big for any browser to handle once I add every day for the entire year within the script. Is there a way I can …

Member Avatar for Dani
0
74
Member Avatar for Catherine King

How to display text in modal popup from the grid's cell by clicking the hyperlink In jquery part I used window.open the code I wrote opened a new popup window so I changed it to modal popup but it loads while pageload before the click of hyperlink and blurs the …

Member Avatar for Dani
0
574
Member Avatar for natalieparker

A specialist in software analysis, design, and development for a variety of industries. I have worked with the creative individuals at [Apptread](https://apptread.com/) to structure websites that users and clients enjoy. In my leisure time, I enjoy coding, blogging about new technologies, and exploring new locations.

Member Avatar for Dani
0
20
Member Avatar for subodhpatil527

I have a html table, Item_Table, with dynamically added rows containing input tags. i have to add the data from Item_Table to the database in Sql Server, so i am using javascript and C# MVC for the process. But i am getting an error saying "System.NullReferenceException: 'Object reference not set …

Member Avatar for Dani
0
77
Member Avatar for UnabashedGeek

Stupidly, I clicked on an email attachment with an htlm extension to see what the scam was. I think I was expecting it to open in a text editor, but it ran. (Dumb, dumb, dumb!) Anyway, I've paid my dues by restoring over a terabyte of backup onto two disks. …

Member Avatar for Dkevinjames
0
143
Member Avatar for Lucas_Raza

## Introduction: ## An IDE (*Integrated Development Environments*) is used to make a developers life easier. You are most likely already familiar with the IDE, **VSCode**; but are you familiar **VSCode Extensions**? Extensions take your IDE past the out-of-the-box experience; I wish I had known about this particular extension [**Simple …

1
131
Member Avatar for Simran_14

This question is relation to a Node.js - express - Sequelize - MYSQL application. I am trying to test my application using Curl command but I am getting "Invalid Departure Time" error. This application is also using Luxon. I have tried all the possible fixes I could but nothing is …

Member Avatar for pritaeas
1
28

The End.