15,688 Topics
![]() | |
Hi, I have created a function that searches for a category in a category tree object and returns all the paths for it as an array of strings, please advice how I can improve it ? the result im getting now is : ["vehicles",["cars","mercedes"],["trucks","mercedes"],["motorcycles","BMW"]] i need it in one dimesional … | |
Hello i have a script that lets the user to take a photo and then upload it -this was the thread i created `https://www.daniweb.com/programming/web-development/threads/508651/how-to-open-camera-and-take-a-photo-script`But the photo returns in low res all blurry etc. I think this is the part i should change var context = snapshot.getContext('2d'); // Draw the video … | |
Hello i want to implement a rich text editor for a <textarea> that my users are uploading text. I found some on google but most of them are very old - like 9 years ago. Has anyone in mind anything more recent? It has to submit the text and then … | |
[[Click Here](https://codepen.io/Claudiooo/pen/myJOLe?editors=1010)](null) in the example above the factory take one argument username and return a synch object , but in the controller Line 13 they passed a string that doesnt look like a username wich is "Agile Code Camp: Firebase Angular Sample App" why ? , and in the html … | |
Hello, I'm trying to edit data from a selected table row by using contextmenu. But when I try to select a row for edting instead the **LAST DATA in a row** will fetch. Table: <div class="container"> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table id="ppmpsupplies" class="table table-bordered table-hover" cellspacing="0" width="100%"> <thead> … | |
Hello every One i have been trying this for a day but can't able to find out what i am doing wrong? Here Class proxy function which gives me access token and refresh token after user enter it's username and password by ajax request i send request to controller where … | |
**I saw a jelly button here:** https://codepen.io/ayamflow/pen/Dufxr But when I tried to create it on my laptop [image](http://ibb.co/bZhXa5) its not working. Here you can see: [image of button](http://ibb.co/nAfw2k) I am using these codes: **For HTML** <!doctype html> <html> <head> <title>bubble</title> <link rel = "stylesheet" type = "text/css" href = "assets/stylesheet.css" … | |
We are facing an issue to bind the selected coordinates of polygon using ArcGIS Javascript library on page load. The same issue we are facing with all geometry types. Please help us to bind the selected coordinates. We are able to find out the coordinates and save them in database. … | |
so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already … | |
Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both … | |
Admin USERNAME: IT-1 PASSWRD: IT-1 Nw use index.php file t lgin. If an errr ccurs that “Multiple lgins nt allwed” then run errr.php and try again. 2. Nw yu will see the Accunt Details f Admin. 3. Fllwing ptins are available in the interface: Hme: My accunt: T view the … | |
Hi, I am facing problem in adding a widget to header of Wordpress website. Here its [Header](http://ibb.co/kr9sCa) and I want to add this [Widget](http://ibb.co/erykXa) on the right of social links. Can you guide me how to add it. I already have HTML code, not sure where to put it. ![]() | |
Hello, I am trying to post my city location automatically when someone update their status. How? I try this but it does not show anything as it suppose to be: I follow this tutorial: https://www.sitepoint.com/geolocation-jquery-api-geoplugin/ <script> jQuery(document).ready(function($) { alert("Your location is: " + geoplugin_countryName() + ", " + geoplugin_region() + … | |
I'm trying to pass an array from php file to a js file here is the code in php file <!DOCTYPE html > <html > <head> <style>------</style> </head> <body onload="gotofunction()"> <?php session_start(); $_SESSION['street']= $this->street; $_SESSION['city']= $this->city; $_SESSION['state']= $this->state; $_SESSION['zip']= $this->zip; ?> <script type="text/javascript"> function voodoo(){ alert('alert in voodoo'); // 1st … | |
Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = '<?php echo $_SESSION['user_email']?>'; console.log(email); e.preventDefault(); $.ajax({ type : 'GET', url : 'count_record.php', // in here you should put your query … | |
Greetings, I wish to make my javascript sources really difficult to study. Don't suggest me those stupid "disable right click" tricks or so, I need code to be obfuscated (variables renamed, comments removed). Please recommend me a javascript obfuscator for this. I found about 6 tools in search engines. Among … ![]() | |
I don't even know if I worded my question correctly, but here's what I have and here's what I'd like: I use an [attendance app](https://itunes.apple.com/us/app/attendance2/id536206472?mt=8) to track my basketball workout classes, and then I show the results on my site [here](http://www.50allstars.com/p/players.html). To achieve this, I send the csv provided by … | |
I have a script that opens a camera and takes a snap. I want it to be able to create an id of the photo and then store it. HTML <a href="javascript:void(0);" class="updateControl2" id="webcamButton" title="Open Camera"><span class="boxWebcam wallbutton">Open Camera</span></a><br /><br /><br /> <video id="player" controls autoplay></video> <div id="webcam"> <button id="takeSnap" … ![]() | |
I'm just learning web development using nodejs and so I need to choose some frameworks to work with. I really like hapi and want to use it. But I also need something to build the view of the website. Some choices are quasar, vuetify, react, etc. But I really don't … ![]() | |
Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I am using Bootstrap, but I want to move away from it and try something else. My issue is, I have … | |
Hello, I'm having trouble posting JSON to a url using Flask, AJAX and Javascript. Essentially, I would code using a library [Jquery Sortable](https://johnny.github.io/jquery-sortable/) to create a sorted list. From that sorted list I want to post to the server. The problem is that the server does not recieve the JSON … | |
Hello, i use a script that allows a user to take a photo. I use a Shockwave Flash Object (.swf) to open the camera and i don't want to do this. How can i do it by callin' the browser prompt that ask you to open the camera? This is … | |
I am trying to auto submit this form when the page loads, and I have tried many different scripts, but none seem to work. Could someone help? <html> <head> <title>Untitled 1</title> </head> <body> <form action="http://www.websiteurl.com/index.php" method="post" name="sendform"> <input type="hidden" name="ID" value="89734957838732498723"><input type="submit" name="submit" value="Submit"></form> </body> </html> | |
Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i … | |
I am starting a project that has been managed using a spreadsheet until now but needs to be converted to a mysql/php application. The amount of rows in the spreadsheet has exceeded something that can be easily sorted, filtered and edited. A particular field has a weak entity that is … ![]() | |
I would like to implement a script to my website that allows my users to invite their friends on Facebook to visit my website. I made an app account on facebook, i use facebook login api runs ok. I used to have a script that opened a facebook frame on … | |
I am not sure what DOM is. But based on my understanding through my lecture slides and online source. By applying DOM approach, which allowing you to create/update/modify the certain HTML elements dymanically. Am I correct? ![]() | |
hello everyone , i have follwoing table structure check_id(pk) | user_id(fk) | check_in_time( timestamp ) | check_out_time( timestamp ) | is_checked_out(0 or 1) | checked_by | family_id now i want to calculate average of all checkIn and checkOut of user per day and then plot these data in graph this … | |
How can I validate each of (upper textboxes) using AJAX to see if the username and password is correct and if they are not correct, display the error messages in red below each respective textbox. Here is my code. Any suggestions would be help. <html> <h1>Welcome to Cuyahoga Community College … ![]() | |
Hi everyone, i have a page that uses jquery ajax to get json from another page. However, instead of the ajax using sucess, it goes directly to error. I have a debug on the error to see what is the issue and i get "Parsing JSON Request failed." page 1.php … ![]() |
The End.