...was asked for some php file upload code, so I thought I would post some stripped down, barebones code that I use in admin/dashboard pages to add/change images associated with products. Please see attached image for folder setup. The code uses the [jQuery Form](http://malsup.com/jquery/form/) plugin by Mike Alsup. **index.php** has two forms; one for the image uploads and the other to show where you would have your "product add/update" form. Files are immediately uploaded to a tmp directory whenever you select an image. If you change your mind a few times you can end up with lots of images in …

Member Avatar
Member Avatar
+1 forum 9

in C# and PHP, we can parse xml data easily by server side coding, but how we can parse xml with client side? java script or jquery is the best option?

Member Avatar
Member Avatar
+0 forum 2

Working on fullscrfeen slider. Need help to count slides inside main slider container & create navigation `<ul class="Nav"><li><a></a></li></ul>`. Need help to add scroll effect Vertically or Horizontally Add class **.active** to active slide Display tooltip on navigation hover Need help to write function , $('main').slider({ //It may be main or .slider or #slider sectionSelector: '.slide', navigation: true, navigationPosition: 'right', navigationTooltips: true, scrollHorizontally: true }); **HTML** <main class="slider" id="slider"> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 1</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 2</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 3</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 4</h1> </section> </main> **CSS** main { width: 100vw !important; height: …

Member Avatar
Member Avatar
+0 forum 1

I'm stuck with playing multiple sounds on website. I've 3 sounds , * Background sound * Hover Sound * Link Hover Sound I'm playing background sound with following code, //play audio var audioOn = true; var bg_src = "audio/bgaudio.mp3"; var audio = new Audio(); audio.addEventListener("load", function() { audio.play(); }, true); audio.src = bg_src; audio.autoplay = true; audio.loop = true; audio.volume = 0.2; //play or pause audio $('.equalizer').on('click', function(e) { if (audioOn == false) { audio.play(); audioOn = true; } else { audio.pause(); audioOn = false; } }); This one is working well for background sound, need help to create functions …

Member Avatar
+0 forum 0

Got Client with need of **"online print shop"** Client is providing paper printing (like business cards, flyers), printing on cloths, office stationary, logo embroidery on any type of clothing. Client provided some examples. **Links** * [rockdesign](https://www.rockdesign.com/) * [moo](https://www.moo.com/ca/) * [readyprint](https://www.readyprint.ca/) * [vistaprint](https://www.vistaprint.ca/) * [printshop](https://printshop.ca/) * [printvenue](https://www.printvenue.com/) **Where do I start?** Which platform should I choose? 1. CorePHP 2. Wordpress 3. WooCommerce 4. Magento 5. Prestashop 6. WordPress Is there any plugin or script that should I go for???

Member Avatar
Member Avatar
+1 forum 13

I found some examples of custom function. By checking code of some websites I created my custom function, but I'm unable to use it. How to call & use following functions? goHome: function goHome(e) { //TimelineMax code //TweenMax code } openWork: function openWork(e) { //TimelineMax code //TweenMax code } openAbout: function openAbout(e) { //TimelineMax code //TweenMax code } goToProjects: function goToProjects() { //TimelineMax code //TweenMax code }

Member Avatar
+0 forum 0

* My [Primary code](https://jsfiddle.net/kvp2Laju/) jsfiddle * I was using [iscroll](https://github.com/cubiq/iscroll) to scroll to target. * **data-section** attribute is used for section id. section is full height & full width size. * **data-slide** attribute is used to get target id, it is animated mouse icon. how to scroll to target ? Need help to create scrolling using custom **data-** attribute

Member Avatar
+0 forum 0

Hi, I have to pass string entered in the input text to server method calling through jquery ajax. But its not going through. can please somebody tell me what i m doing wrong here. Below is the code: [CODE]$.ajaxSetup({ cache: false //timeout: 1000000 }); function concatObject(obj) { strArray = []; //new Array for (prop in obj) { strArray.push(prop + " value :" + obj[prop]); } return strArray.join(); } //var Eid = "stephen.gilroy1"; function testCAll() { //var ntid = $('#Eid').val(); $.ajax({ type: "POST", url: "Testing.aspx/SendMessage", //data: "{'ntid':'stephen.gilroy1'}", //working data: "{'ntid': $('#Eid').val()}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(result) { alert(result.d); resultData …

Member Avatar
Member Avatar
+0 forum 5

hey its me again.. now another matter about fetch data from db for provide information to modal form ( edit data ) not shown, [Click Here](https://i.ibb.co/L8jP6tb/update.png) here's just part code fr each related page : **modal edit** ill try with first input type with **id="name" name="name"** <!-- edit modal --> <div class="modal fade" tabindex="-1" role="dialog" id="editEmployModal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title"><span class="glyphicon glyphicon-edit"></span> Update Pegawai</h4> </div> <form class="form-horizontal" action="pegawai/update.php" method="POST" id="updateMemberForm"> <div class="modal-body"> <div class="edit-messages"></div> <div class="form-group"> <!--/here teh addclass has-error will appear --> <label for="nama" class="col-sm-2 control-label">Nama</label> <div class="col-sm-10"> …

Member Avatar
Member Avatar
+0 forum 1

Hello guys , i have an issue , my jquery code works on safari but when i go on chrome or any other web browsers it dosen't work . I tried to edit my code but still nothing is working . I do not know where it comes from, the code is quite simple that's why i dont really understand . [My code :](https://paste.ofcode.org/m9yVDhGeXHTZUQ5sTW3HL7)

Member Avatar
+0 forum 0

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', type:'post', data: {emp_id : id}, datatype: 'json', success:function(response) { return value is **378192918**, the first number **0** not showing in alert box. why ? then how to get entire value id_employe from db ?

Member Avatar
Member Avatar
+0 forum 8

I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask. Can this be done with CSS? Or should I consider jQuery? This is what I want to accomplish ... ![Croppr_js.png](/attachments/large/4/5d86601b7d949d7e68afe7357beafc5d.png) I just want to know how to create this overlay image feature.

Member Avatar
Member Avatar
+0 forum 10

I have managed to achieve this action through this: <link href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" rel="stylesheet"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div class="input-group"> <input type="password" id="pass-on" title="<?php echo $user->valid_password_error; ?>" class="form-control" name="txt_upass" placeholder="Enter Password" autocomplete="off" value="" oninvalid="setCustomValidity('<?php echo $user->password_error; ?>')" oninput="setCustomValidity('')" required /> <label>Password</label> <div class="input-group-append"> <span class="password-button password-button-main" data-id="pass-on"><i class="fas fa-eye-slash"></i></span> </div> </div> <div class="form-group progress jquery-result-1" style="height: 10px;"> <div class="form-group input-group"> <input type="password" id="pass-verify-on" title="<?php echo $user->valid_password_error; ?>" class="form-control" name="txt_upass_ok" placeholder="Retype Password" autocomplete="off" value="" oninvalid="setCustomValidity('<?php echo $user->password_error; ?>')" oninput="setCustomValidity('')" required /> <label>Retype Password</label> <div class="input-group-append"> <span class="password-button password-button-verify" data-id="pass-verify-on"><i class="fas fa-eye-slash"></i></span> </div> </div> <script> function togglePasswordVisibility($pw, on, id) { $pw.attr('type', on ? 'password' : 'text'); …

Member Avatar
+0 forum 0

I develop a website who is using https://github.com/sindresorhus/screenfull.js/ for full-screen mode. On Chrome, Firefox, Open, and Safari the plugin it works properly. But when I go to Internet Explorer 10+ the plugin doesn't work properly. So when I'm in full-screen mode I can not scroll the content even with the keyboard. I tried to add overflow: scroll !important; overflow-y: scroll !important; to the body but without changes. Can you please help me? Thank you in advance.

Member Avatar
Member Avatar
+0 forum 2

I installed this php with captcha email form on my website --> http://reusableforms.com/d/d4/php-email-form-with-captcha I have it working. :) But there are two things that I want to change. (1) I want to change the color of the submit button. I have semi done that with the following code: .btn { background: rgba(77, 56, 36, .75); border: 1px solid #271c16; color: #c3db74; } .btn:hover, .btn:active, .btn:visited { background-color: rgba(196, 227, 64, .65); border: 3px solid #c7d8e8; box-shadow: 1px 1px 21px #271c16; color: #271c16; } What is not working is when the form returns with an incorrect captcha entry then the button …

Member Avatar
+0 forum 0

I am a novice at JavaScript an jQuery. I am writing a project and trying to incorporate $(this) to read a data attribute. Once the data attribute is determined and assigned to a variable, I intend to use that to access other form elements. Instead of reading the data attribute as intended, clicking the button is submitting the form. This is a code sample: <fieldset class="new_inputs" id="new_inputs1"> <label for="file_input_1">Input File:1</label> <input class="fileRenamingFormInput" name="file_input_1" id="file_input_1" type="text" value=""> <br> <select class="fileRenamingFormSelect" name="destinationFile_1 id="destinationfile_1">...</select> <input class="fileRenamingFormFileOut" name="file_out_1" id="file_out_1" type="text" value=""> <br> <textarea class="copyCommandBlock" name="copyCommandBlock1" id="copyCommandBlock1"></textarea> <button type="submit" class="btnGenerate" id="btnGenerate1" data-idx="1">Generate command</button> <- Button …

Member Avatar
Member Avatar
+1 forum 12

I am creating a web slider (responsive), but I need it to have a wave transition, what would be my best option? Thanks.

Member Avatar
Member Avatar
+0 forum 1

I have jquery for my mobile website, but the problem is with iPhones. The touch event, or `onclick` event does not work on iPhones. It works on Android. Have anyone encountered the same problem? How can I fix this? Are there any work arounds? Also I am a bit confused about jQuery Mobile. What is the purpose of this framework other than the swipe events? Should I add both jQuery and jQuery Mobile for my mobile site?

Member Avatar
Member Avatar
+0 forum 6

I am looking to develop my skills as a web developer. I want to find new challenges that can help me do that. Do you know any resources that can help?

Member Avatar
Member Avatar
+0 forum 2

On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker to show today's date. My players get confused by having to select the date each time, and I'd rather it just default to today's date instead. Looking around the web, I stumbled upon a code that looked like it should work but did not $(document).ready(function() { $('#txtDate').datepicker(); $('#txtDate').datepicker('setDate', 'today'); }); Assuming that's close, could someone help me perfect it and maybe tell me where exactly to add it? Or, if …

Member Avatar
Member Avatar
+0 forum 6

I’ve created animated `rect` shape with **greensock**. It's not working on jsfiddle so created on [codepen](https://codepen.io/anon/pen/PdezOj) I’ve three shapes. I need help with following, 1. make it 100% height & width of viewport 2. it stops for a while before repeating, move `rect` without any gaps 3. they bacomes one rect while ending keep fixed distance between all 3 rect <svg x="0px" y="0px" width="100%" height="100%"> <rect x="0" y="0" fill="none" stroke="#88CE02" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect1" /> <rect x="0" y="0" fill="none" stroke="#ce4201" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect2" /> <rect x="0" y="0" fill="none" stroke="#8601ce" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect3" /> </svg> <script …

Member Avatar
Member Avatar
+0 forum 1

Borders are animating one after one. Need help to animate all borders at same time Here is running example [jsfiddle](https://jsfiddle.net/npLsm0j2/) **CSS** * { padding: 0; margin: 0; outline: none !important; } body { background: #E0D4D4; overflow: hidden; } .borders { height: 100vh; width: 100vw; position: absolute; display: inline-block; z-index: 1; } .border-t { position: absolute; z-index: 1; height: 1px; top: 60px; left: 60px; width: calc(100% - 60px * 2); } .border-t-l-wrap, .border-t-r-wrap { position: absolute; top: 0; height: 100%; overflow: hidden; } .border-t-l-wrap { left: 0; width: 50%; } .border-t-r-wrap { right: 60px; width: calc(50% - 60px); } .border-t-l { …

Member Avatar
Member Avatar
+0 forum 9

Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the form I need somehow to read the file names of the uploaded files in my server, currently I can only get the list of the original filename of the files that are uploaded. For many reasons when a file is uploaded I am giving it a random name with time() function. A part of my HTML form <form id="appointment-form" class="box-body no-padding"> <input name="firstname" type="text" /> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 …

Member Avatar
Member Avatar
+1 forum 4

Greetings, Trying to understand how to load from a master menu (UL-LI styled) different external html files into multiple DIV s all on the same page. I have a note taking system that runs offline that uses html5 css3 and frames. It uses 2 rows and 4 columns for the desktop version (2 rows 6 columns for netbooks and 2 rows 4 columns for a tablet). Each has its own name and id tag in it. The first row is for viewing files while the bottom row is indexes. So that top-row column-1 views what bottom-row column-1 indexs, the same …

Member Avatar
Member Avatar
+0 forum 1

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need help to play audio using **play() **, control volume using **volume = 1** What is **workClick: ?** I found it used with sound properties. So, basic needs are play various sounds - on click, background music, control volume of background music, play sound on overlay appears

Member Avatar
Member Avatar
+0 forum 12

Can you help me to programe a window pop up in my site say in it write your email which code should i use in html and javascript

Member Avatar
Member Avatar
+0 forum 2

Hey everyone, I'm at a stand still at this bit of code. Ultimately, I want to "expand"/slide down a class to show the rest of the hidden content (the list items with the class of ".hide") inside of that containing div. Sliding down the prices, hr line, and the "Get Started" button so that the content that would now be shown at hover, but at sliding back up the now shown content, would slide back to its original state when "not" on hover. I thought that by either taking away the class via jquery would solve the issue, but no. …

Member Avatar
Member Avatar
+0 forum 3

Hello friends, I want to develop a online typing tutor using codeigniter......for hindi language (typing in computer with the help of **hindi indic 3** or** hindi indic 2 typing tool**) .......i know the php and codeigniter with css.....please give me guidance to develop it......what language i need to learn.....and how can be typing using these tool............. how many days will it take to learn............

Member Avatar
Member Avatar
+0 forum 4

Hello, Check this out - http://loudev.com/ . I would like to add one more button called Select All to select all the email on leftside to move them to the right side. Any clue how to? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language basis. This isn't too bad in theory, but sometimes it doesn't work like it should, which can cause a huge headache. I had a hell of a time getting a debugger to work for php. I am now adding javascript/jquery to the website, and discovered that the debugger I already …

Member Avatar
Member Avatar
+0 forum 3

The End.