15,127 Topics

Member Avatar for
Member Avatar for bisibee88

As per question, I would like to find the future date based on a given number of days. It should exclude weekends and holidays that is stored as array. Have this code below but the future date generated is incorrect. Any suggestions? var holiday = []; holiday[0] = new Date(2013, …

Member Avatar for rubberman
0
5K
Member Avatar for davy_yg

Hello, I would like to create notification on press Purchase through a pop up. Such as "Thank you. We will process your request. Please check your email." How to create the javascript to create pop up? <form action="{{ action('SettingController@getBackgroundTheme') }}" method="get" id="notification"> <span class="setting-name">THEME</span> <!-- <form method="POST" action="/posts"> --> <input …

Member Avatar for Thomas_41
0
273
Member Avatar for Akshay_10

[Click Here](http://www.acchajob.com) if (isset($_POST['createresume'])) { $university = $_POST['university']; $frommon = $_POST['frommon']; $tomon = $_POST['tomon']; $lavel = $_POST['lavel']; $courtitle = $_POST['courtitle']; $eduinfo = $_POST['eduinfo']; $typeskill = $_POST['typeskill']; $lavelskill = $_POST['lavelskill']; $skilldetails = $_POST['skilldetails']; $langskill_1 = mysqli_real_escape_string($con, $_POST['langskill_1']); $langskill_2 = mysqli_real_escape_string($con, $_POST['langskill_2']); $langskill_3 = mysqli_real_escape_string($con, $_POST['langskill_3']); $langskill_4 = mysqli_real_escape_string($con, $_POST['langskill_4']); $langskill_5 = …

0
113
Member Avatar for hrushi9

Need help to add css transition effects to this https://jsfiddle.net/az9yt611/ floor item 1 is selected, when it changes to floor item 2 is selected add effect to its inner div's, i.e. Left & Right. Add cube **To Top** transition to **left div** & **To Bottom** to **right div**, on next …

Member Avatar for pdsubbu
0
311
Member Avatar for ernest_5

I want to display records from my database in div and in a grid format using php. I want to set it to display 3 items in a row and then create another row and then display another 3 items continuously until the set limit but unfortunately only one item …

Member Avatar for ernest_5
0
2K
Member Avatar for SimonIoa

Hello i have a problem. Locally (xampp local server) the image uploads just fine but it doesn't when i try it on my webiste. The GD library is activated. So thats not the issue. html <video id="player" width="480px" height="240px" autoplay></video> <button id="takeSnap" class="startbutton messageButton" style="display:none;">Take Snap</button> <div id="webcam"> <input type="hidden" …

Member Avatar for cereal
0
766
Member Avatar for Var_1

Hello everyone, I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of Uncaught TypeError: Cannot read property 'fnDraw' of undefined when the user choose the …

Member Avatar for essential
0
753
Member Avatar for Ankur_8
Member Avatar for diafol
0
876
Member Avatar for Dilip_4

Want to add and share something, I have seen people now a days they ask users to comment a link ex. www.abc.com/name When the user comments it that link converts to a shared url which shows a dynamic image and title. Ex. user 1 comments www.abc.com/name1 it will create image …

Member Avatar for jwenting
0
161
Member Avatar for Mohamed_95

Hello, Im building a website on Wix builder. I have a database for my customers on an xlsx file, what i need is that when a customer enters his phone number and then click "Okay", if his phone number data found in the database then he will be directed to …

Member Avatar for pty
0
403
Member Avatar for durga_4

I have site using php frame work codigniter where I am using the mattdiamond/Recorderjs to record an audio file in blob content type then i am uploading it to the server but it is taking top much time to upload I want to minimize my uploading time. Max size of …

Member Avatar for rproffitt
0
343
Member Avatar for arun_22
Member Avatar for diafol
0
176
Member Avatar for ramabahama

I've been learning and experimenting with NodeJS, and the project I'm using is to port a homemade content management system (CMS) written using the Linux/Apache/MySQL/PHP combination. One of the areas I am trying to update is protecting against spam on a contact form. The NodeJS version is based upon Linux/Mongo/Nginx/Javascript …

Member Avatar for Damhart
0
277
Member Avatar for vitaquous

I used npm node-persist but I wish to use it in two modules as well, 'set()' and 'get()' var storage=require('node-persist'), set=require('./set.js'), get=require('./get.js'); storage.initSync(); passing as; `set(foo, bar, storage);` my problem is the package does not seem to work when passed. Is there a way to pass a npm package such …

Member Avatar for alc6379
0
170
Member Avatar for Carole_3

Hello, I would like to share a page on facebook with a dynamic url. Here is the code to get the dynamic url. <?php $profie_url = $this->url(array("id" => $mRow->id, "url" => $this->urlify($mRow->first_name)) , "details") ."/" . $this->urlify(trim($mRow->subtitle)) . "/" . $this->urlify(trim($mRow->city_name)); ?> To use it I usually do: href="<?php echo …

Member Avatar for essential
0
3K
Member Avatar for Himanshu Chawla

using (MySqlCommand cmd = new MySqlCommand("SELECT EmpId, Emp_Name, Salary , Start_date , End_date , CASE WHEN (Employees.End_Date is null) THEN DATEDIFF(DATE_ADD(Start_Date, INTERVAL 30 DAY), Start_Date) * Salary/30 ELSE DATEDIFF(End_Date, Start_Date) * Salary/30 END AS Total_Salary From Employees;")) { using (MySqlDataAdapter sda = new MySqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = …

Member Avatar for rproffitt
0
470
Member Avatar for Alexis_5

could someone please take a look at this and let me know how to fix it. What I would like to happen is when the dropdown option is selected it displays the buttons for that option. and then when the button is clicked text set for that button displays in …

Member Avatar for Shulc
0
584
Member Avatar for rchawdhari

Hi Guys, I am moving my project from angular 1 to react. Is anybody can help me that how can I authenticate every api calls . I check before every api call that access token exist in cookie or not . Is it not exist redirect to login page

0
140
Member Avatar for shuvobd71

I am at learning stage in web designing. I want to make web template for themeforeset.net after completion of my learning. Can I use jqury image slider in my templates that i will design for selling in themforest.net.If yes please send me related links..... shuvo

Member Avatar for rproffitt
0
289
Member Avatar for Payge

I need to write a program where a user inputs positive integers between 0 and 20 that uses an array to count how many times each integer is input. I cannot save integers that are input, i must save the count of integers that are input. I don't know where …

Member Avatar for JamesCherrill
0
194
Member Avatar for david_105

the menu works fine but the sub menu disappears when i select a menu, what am doing wrong thanks $query = "SELECT a.id, a.team1, a.team2, b.auction, b.bidder, b.tagged, b.willwin FROM " . $DBPrefix . "auctions a LEFT JOIN " . $DBPrefix . "bids b ON (b.auction = a.id) WHERE a.id …

Member Avatar for diafol
0
286
Member Avatar for samertaha

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 …

Member Avatar for samertaha
0
399
Member Avatar for SimonIoa

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 …

Member Avatar for rproffitt
0
160
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
3K
Member Avatar for samertaha

[[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 …

Member Avatar for samertaha
0
183
Member Avatar for Junie30

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> …

0
223
Member Avatar for KaleBeatroot

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 …

Member Avatar for KaleBeatroot
0
3K
Member Avatar for peace_coder

**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" …

Member Avatar for cereal
0
305
Member Avatar for Kalpna_1

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. …

Member Avatar for rproffitt
0
467
Member Avatar for Petreanu

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 …

Member Avatar for AndrisP
0
319

The End.