15,120 Topics
| |
This html web page code, when viewed via mobile device, captures video from the mobile device. By tapping the page, the mobile video full screen appears, ready to begin recording. I'd like to find a way to reduce the dimensions of that full screen, if possible. I'm guessing it might … | |
First I would like to say that I do not speak English so sorry if I express myself badly. Hi, I need to know how I can solve this game. "Archers in the Forest". The game consists of a forest represented by a grid, 5x5, 7x7, 9x9 (The user will … | |
| |
Is it possible to add scrolling text across the page/video-camera-screen? On an html page, it uses this code: accept="video/*" in this context: <input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();"> and when you view the page via mobile, and tap the page, your video camera screen appears. I'm looking to see … | |
I am currently creating a simple invoice page. But I am also having a hard time retrieving and displaying the price and description of items selected by the userfrom my dropdown (dropdown is populate from database). My knowledge of jquery and php were not that deep yet. I hope someone … | |
can i have free robux in roblox app? | |
Hello. It is something very simple for someone who knows javascript. How to capture the text content of the pressed element? Important is that the page is built with PHP. <li><a onclick='cat();' href='#'>Text 1</a></li> <li><a onclick='cat();' href='#'>Text 2</a></li> <!-- Above PHP, important: text content element is dinamic--> <script> function cat() … | |
I am writing a program that calculates the volume of a cylinder when you input the diameter and height, using the formula 1/4*height*3.14*diameter^2 However the issue is, whenever I do that, the volume always comes out to be 0 when I run the program. #include<iostream> using namespace std; int main() … | |
I'm using the code below to get a random number of items from an array, but I'd like to just get 3-5 random numbers from the provide range to display. Right now, it either shows 1, all, or any amount in between. I'm also good with completely changing up my … | |
Hey i'm trying to change the image without the id. We can't change html so i can't use an id. I have this: <figure> <img src="images/start.png" alt="start"> <figcaption>Nog geen thema gekozen</figcaption> </figure> And in my script: document.querySelector('src') = "images/mode.png"; I don't know how to select it and change it. | |
Hi, I have a small script that I wrote in jQuery and I would like to convert it to vanilla javascript so I can ditch jQuery for pages that use this script. jQuery(document).ready(function($) { $(document).on('click', '.wpstp_button_follow', function(e) { e.preventDefault(); $.ajax({ type: 'POST', url: ajaxurl+"?action=wpstp_follow", data: $('#wpstp_form').serialize(), dataType: "text", success: function(response) … | |
Hi, I have a form in React with few select/input components. Form doesnt get populated when user enters value in them. Thats the case when I want for input "Username" -> when user starts writing here some username, then React - in Reducer -> filters array of whole users in … | |
I hope someone can understand my question and offer some help. I am creating a Flight Booking application with Amadeus APIs. I have a flight search form on the index page with hbs template engine. The form submits to /auth/flights for processing. I then want to display all error in … | |
#include<stdio.h> main() { int A[9]={6,3,1,5,7,4,2,8,9}; int Temp, I, J, K; printf("sebelum \n"); for(I=0; I<=9-1; I++) { printf(" %d ", A[I]); } for(K=0; K <= 9; K++) { J = K; for (I=K+1; I<=9-1; I++) { if (A[I] < A[J]) J = I; } Temp = A[J]; A[J] = A[K]; A[K] … | |
I have a site that I follow frequently The problem is that it refreshes the page every five minutes And I never want this. Here, an addition to the Firefox browser named "stop auto reload" When you put the name of this site, it prevents it from updating every five … | |
Hi! May I seek for your help on how to calculate the number of days between two dates excluding weekends and public holidays using javascript. Also, how to calculate the end date (start date and duration given) excluding weekends and public holidays. Thank you. | |
Hi everythings, I have a question regarding on disabling today date on datepicker, i got this code from internet and it seem like working , but then i realised its starting disable today date from 08:00 am onward and not disable from 12:00 am, seems like its has problem with … | |
I browsed google and found nothing so thought i would put my efforts up here. hope this all helps. this function will allow you to return the number of days between two dates minus saturdays and sundays. (including the start date) | |
Hi DW. Anyone knows how I can get the device name the browser is running on? I mean something like on the attached image with Javascript? ![FireFox_SendTo.PNG](https://static.daniweb.com/attachments/4/6cbee440f2043da722eba44bed14568b.PNG) | |
[(ngModel)]="service.formData.OrderNo" | |
Hello i'm working on a small project that i have to retrieve movies data from a json API, then save the result into a csv. i'm able to display data with php eco but when i'm trying to write csv file i get the following Warning: array_keys() expects parameter 1 … | |
Hello, As the title says, my question is: how I can get the values for specific ID? For example, my plugin creates a PDF that automatically fills in with information that I get using API from my CRM platform. So, what I am trying to do now, is that in … | |
| |
## I am deleting item from cart through Jquery ajax,but it is not removing. It is returning "System.String[]". ## [WebMethod(EnableSession = true)] public string ClearItem(string Img) { try { if (Session["Items"] != null) { string[] session_item_arr = Session["Items"].ToString().Split('|'); for (int i = 0; i < session_item_arr.Length; i++) { string[] key_arr … | |
def Count_Total_Words(str1): total = 1 for i in range(len(str1)): if(str1[i] == ' ' or str1 == '\n' or str1 == '\t'): total = total + 1 return total string = input("Please Enter your Own String : ") leng = Count_Total_Words(string) print("Total Number of Words in this String = ", leng) | |
Im trying to display/show the Total Average in the heading (beside it) and not in the dataset table. I tried different methods but it wont show. (The last method I tried to work with is what in including in the codes. <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <meta charset='UTF-8' … | |
I'm not good with math functions at all, but I've searched for a while and couldn't find anyone even touching on this subject. I'd like to have the price of $900 slowly approach $1500 between the dates of April 1st and August 1st. That's about $5 per day, and the … | |
![Inked235345364566556546_LI.jpg](https://static.daniweb.com/attachments/4/b5bf788aff340f6e41ee2b6d28f1f5c9.jpg) Sample output: Enter number of guests: 40 40 guests have been invited. Enjoy the party! | |
This is an api signing key maker.I want to convert this into php code as this is not able to integrate into my php project. public static String signingkey(String apiAccessKey, String hmacSecretKey, String apiMethod, String clientip, String jsonInput) { String retval = ""; final String HMAC_SHA_512_ALGORITHM = "HmacSHA512"; final String … |
The End.