15,127 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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" /> … | |
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, … | |
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 | |
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? | |
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 … | |
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 | |
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 … | |
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. | |
(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 … | |
my code have issue will show both if and else alert when key in information in web. | |
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) | |
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. | |
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? | |
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. | |
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"> … | |
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 … | |
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 … | |
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. | |
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 … | |
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. … | |
Hii are someone know the best ways to regenerate csrf token on ajax form submit | |
## 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 … | |
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 … | |
Hello everyone! This question is related to using Sequelize with Node.js and MySQL. I have come across a small doubt and need your help. To enable CLS with Sequelize we initialize a CLS namespace using the following lines of code: ``` const cls = require('continuation-local-storage'); const namespace = cls.createNamespace('custom-sequelize-namespace'); const … | |
Hello, I get this error message: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' When running this code: ` Rp. <div id="total"></div> ``` <script> $("#total").html({<?php number_format($("#subtot").val(), 0, '', '.'); ?>}); </script> ``` ` Any idea why? |
The End.