15,121 Topics
| |
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 … | |
I have a form as below on a page pricelist.php. On submit, it uses the code in submit.php to print a price next to the form on pricelist.php depending on the choices submitted in the form. On submit, I need the values of the first two fields to be retained. … | |
Hi. In short, how can I make this javascript to refresh the page when uploading is done ? :) [code=javascript]function $m(theVar){ return document.getElementById(theVar) } function remove(theVar){ var theParent = theVar.parentNode; theParent.removeChild(theVar); } function addEvent(obj, evType, fn){ if(obj.addEventListener) obj.addEventListener(evType, fn, true) if(obj.attachEvent) obj.attachEvent("on"+evType, fn) } function removeEvent(obj, type, fn){ if(obj.detachEvent){ obj.detachEvent('on'+type, … | |
...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 … | |
As web developers we do take seriously the security of our end users by applying a hash method on their passwords before storing it to the database so should our database be hacked we know that our end user passwords are secure. But what about the browser remembered passwords on … | |
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? | |
Many thanks if you are looking at this. I have a simple order form that allows users to place an order for an item. The form also allows the user to add more items, calling a javascript function that utilizes innerhtml. Included in each order form, are dates. I am … | |
I have a small application written using javascript (NodeJS). How can I run it as an executable file? | |
Clarifying previous question about Google Chrome Extension. I need to access the textboxes inside an iFrame. I believe I am accessing the iFrame because I can get at the height, width, and other attributes of the iFrame itself, just not the content within. I don't think this is a same … | |
I am getting a screen resolution through XMLHttpRequest. I am opening a show_content.php file with *xmlhttp.open* that contains screen resolution variables which I pull with the GET Method. xmlhttp.open("GET","show_content.php"+queryString,true); This works! and showing this file with the variables in a following div <div id="txtResolution"></div> This part works as well! PROBLEM: … | |
Hello webmasters, I have a website about memes and I want to update the database each time the user scrolls down. I have no problem when I make a few requests to the database, but what if I want to do a lot of requests in a large database? I … | |
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 --> … | |
Hi i was wondering if someone can help me understand ho to add one function to this code to find the maximum value in the list. We can assume the list is not empty. Then call that function to find the maximum, and then print it out. import random class … | |
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', … | |
A developer from India helped me create a pretty cool page, but he's since abadoned me with a few errors in his code. On my [ROSTERS](https://fiftyallstars.com/p/rosters.html) page for my basketball program, it's meant to display cells generated from [this Google Spreadsheet](https://docs.google.com/spreadsheets/d/e/2PACX-1vQd232Tmdvi3iaqni-Gc_RR0d0he9k2Dkel5A7uJU-GWUdck4CFecru3K2HfrybyI3pfrpAMpM4XZOa/pubhtml). Only problem is it works for most grades, but … | |
I have installed Facebook share button on my website but it won't work on new content. It works perfect with content that is loaded with PHP but not content appended by AJAX. Can anyone help? | |
I am starting a website where an image shows on the home page and when I scroll to hover over the image it opens a newpage. I’m trying to figure out a way to do a slow dissolve from the home page to new page and also if the user … | |
I'm having a webpage that loads inside an iframe. I added the base tag to load the images, styling and to make links work, after clicking on a link I'm getting the error "whatsmyip.com refused to connect". Adding target="name-of-iframe" to all links doesn't work. HTML <html> <head> <script type="text/javascript" src="jquery-3.2.1.min.js"></script> … | |
Hi everyone, new to the message board. I saw online that this is a good place for info. Im currently new to the web dev scene. I started coding and am looking for relavant info and such regarding anything i need to know. Currently working on CSS, been taking awhile … | |
Hi fellas, I hope my first message here comes across more helpful than bothering. I’ve recently launched a WordPress backup plugin - WPvivid Backup/Restore. It contains pretty all basic features that you’ll need to backup/restore you site and is fairly easy to use. And most important, it’s completely free(free update … | |
Hi All, As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card … | |
What are the different event handlers that can have in Global.asax file? | |
[B]A Brief History[/B] I like to call this my instant call back feature. Basically I knew that you can send a text message to your phone through email. So I said to myself, "self, why not send yourself the text message through a web form through some type of sendmail … | |
What are general considerations when choosing an open source library | |
Hello all, I am currently trying to add a button, that when I click it - a list of questions appear (with textareas), every textarea has his own ID and I'm trying to get all of the answers printed into one form. <h5>QUESTION BULK 1/h5> <div id="question1"> <h4">#1</h4> <p>Relative name?: … | |
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 … | |
Hello Daniweb Family, I am trying to create something like a "Earthnull" look alike. I am not good in coding and try to find something that can help me to start on. I found something very similar on what will be the target output. HTML: <!DOCTYPE html> <html lang="en"> <head> … | |
I am trying to create a search box on my website that will allow readers to type in search words and display results strictly from all pages of my .org. I found a php code on this website that I think will do this? So I have created a page … | |
The challenge I need to resolve is getting a sub-string from strings such as those below. Each line is of an array so I am iterating and working on one line at a time in a JavaScript loop. All of the strings have the names at the start of the … | |
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 { … |
The End.