15,121 Topics
| |
I am currently using HTML and Javascript to create a number guessing game. The issue with my current code is that any number the user inputs is a number that is ruled as the correct number. The problem is that the random number generator is not being recognized for some … | |
hi every body Who to do send data to php mvc with ajax? | |
Hello , I have a program which show reports of students i habe multipile dropdown lists in my page and what the supervisor do is selecting what he wants to show first " for example students who live in usa " /ps i have multi dropdown lists /then my program … | |
I was recently started to learn Java (3 months back started), It's going well, learned a lot. I am reffering this [website](https://www.scaler.com/topics/stack-class-in-java/) to undersatand about **Java Stack Class**. Can someone tell me which method is best to implement stack class? Happy Coding! | |
hello i'm trying to schedule event from mysql in node js i know how to execute query (connection.query("select * from test") but how to do that in nodejs --------> CREATE EVENT IF NOT EXISTS reurring_event ON SCHEDULE EVERY 1 MINUTE STARTS CURRENT_TIMESTAMP ENDS CURRENT_TIMESTAMP + INTERVAL 1 minute DO INSERT … | |
Hi, I've been trying to troubleshoot this iframe issue all day. I need help. First, the issue is an iframe on the frontpage is to load a php script for an Video ad. Second the frontpage is a php search script. Now, when you visit the frontpage initially everything is … | |
I'm hosting tounaments throughout the year, and have the price increasing each day. Code works, but I'mnot cure which elements to adjust to be able to display multiple prices adjusting simultaneously. I tried changing "rate" to "rate1" etc, but that wasn't enough... So I'm guessing variables within should be adjusted … | |
Hi, I am working on [ecommerce](https://www.macmillermerch.store/). I’m having issues when customers try to checkout (Mobile and Desktop). If you add (1) quantity of any item, click the cart icon, it reads “0” but if you add something else, the line items of said added products show up. | |
How to color table rows on the basis of column 'value' or 'text' in javascript can i do it in script tag to check on each row if the cell value is A color the row as green if it B color it as red ... should i do it … | |
hello i am using node js and mysql and i am dealing with payment table and i wanna insert record automatically based on the date and perod for example i have student who will pay every week something so i wanna be able that insert record every week in my … | |
How can I build a responsive mobile app with PHP as a web developer, I'm a newbie in web development please and I wish to maintain apex growth in this field | |
le has had a tendency of using their own ideas for descriptions - they have just started doing the same with title tags. The Titkle tags seem to have an affinity with the H1 tag so can be manipulated back to a degree. Descriptions are tougher | |
#include <iostream> using std::cin; using std::cout; using std::endl; using std::ios; #include <iomanip> using std::fixed; using std::setw; using std::setprecision; using std::showpoint; int main() { const int PEOPLE = 5; const int PRODUCTS = 6; int sales[5][6]={{1},{2},{3},{4}}; double value; double totalSales; double productSales[ PRODUCTS ] = { 0.0 }; int salesPerson; int … | |
var mysqlstore = require('express-mysql-sessiion'); var app = module.exports = express(); var express = require('express'); var session = require('express-session'); var bodyParser = require('body-parser'); var path = require('path'); var connection = mysql.createConnection({ host:'localhost', user:'root', password:'', databse:'mam_login' }); var app = express(); Good day all My code is giving me error: "can not … | |
I just hired a developer in India to write an API upload script for my cloud server. He just finished it and it works fine for him, but I've tried it in all browsers and it doesn't work at all for me. I'm in the UK. What could cause this? | |
I have a tab structured view which consists of 5 different tabs. the content in all the 5 tabs were same, So i have reused the code and rendered the same code multiple times using knockout js. the problem here is that I have a datepicker control too. As the … | |
This button page implements "window.open()" to open a new window. I would like to ask how I can automatically bring the button page to focus if I am browsing another page and the button page is not closed. I don't want to use "window.open" again to bring the button page … | |
Trying to have a script built that locks the content until user refers a friend to signup, then they are granted access. They have a set amount of time, as a timer counts down or their account is deactivated. Its for a game we are creating and want to use … | |
HI!! How can I create an automatic numerical progression from 0 to 500,000 in html? The code I was given is this: <p><span style="font-family: Calibri, sans-serif;"><span style="text-shadow: rgba(255, 255, 255, 0.8) 0px 3px 2px;"><sup>437</sup></span></span></p> how can i make the code progressive and automatic every three minutes? The progression I have … | |
Write a javascript program to accept a number using prompt box and display whether the entered number is a perfect or not (use onclick event) | |
how to create 2 array matrix in dart programming | |
9. Write a JavaScript program to generate n number of random numbers and store them in an array. Sort the generated numbers in ascending order using array sort method. Develop separate functions to find mean and median of numbers that are in the array. Display the results with appropriate messages. | |
Hi Everyone, I am looking for a way to add a username to confirm a seat choice for certain weeks, I already have the PHP Code to confirm the seat when choosing but on the image i would like for it to display the username so other people know its … | |
I made an ecommerce theme and threre register mini-cart.php by <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s × %s', $cart_item['quantity'], $product_price ) . '</span>', $cart_item, $cart_item_key ); ?> code but when I add product to cart its show empty,afte page reload shows product numbers | |
Hello. I have this code. I want to show 'correcto' when 'response' is 'ola', but not working. I have this procedure to do it fails: -Change php response (echo) to number,, `echo "ola";` to `echo "25";` -Change javascript,, `if(response == 'ola')` to `if(response == 25)` <script src="jquery-3.5.1.min.js"></script> $.ajax({ type: "POST", … | |
<html> <head> <title> Exercice 6</title> </head> <body> <h1>Hello</h1> <script language= "java script"> var N=prompt("Choisissez entre: 1-addition et 2-multiplication",""); if (N==1) { document.write("<table border="2" align="center" rules="alls">"); for (var i = 0; i<=9 ; i++) { document.write("<tr>"); for (var j=0; j<=9; i++) { var s=i+j; document.write("<td>"+s+"</td>"); if (j%3==0) { document.write("</tr>"); } } … | |
This code below works successfully to capture/record/play video - after camera access permission is granted - when the start button is selected. I'm trying to add the functionality where (after camera access is allowed) the camera view appears, without recording starting automatically (And have the camera view displayed while recording). … | |
hi everyone, i want to display content of div into sweet alert message and here is my code <?php echo '<script> var swal2container = $("#swal2container").text(); setTimeout(function() { swal({ title: "Alert!", text: swal2container, type: "error" }, function() { window.location = "index.php"; }); }, 100); </script>'; ?> <div id="swal2container">test</div> i still cant … | |
Write a javascript program to display a text after every x seconds, where x is a number from geometric series with coefficient term (a) = 3 and common ratio is 2 eg: The text will be displayed after 3 secs, then after 6 sec, then after 12 sec and so … |
The End.