15,120 Topics
| |
i have been able to pass value from form to ajax and to php to insert into my database. Now there is a value which determines whether to redirect to page 1 or page 2 after inserting. As well i alert that the form was successful. So i wanna know … | |
Hi Guys i need help with media queries. I have 2 divs with class div : class1="flags-desktop" and class2="flags-mobile" in my website! one for mobile and one for desktop or normal screen big then 1000px. So for default the div class1="flags-desktop" is showing and class2 is hide. with css d … | |
I was looking forward to add a feature to my project which can tell us how many times the post has been viewed, but just can't get how is it done. I am not a programming expert but still have good knowledge of php, mysql so if anybody can just … | |
Hi, I am not familiar in google map. I want like this, My map page reloads after every 10 seconds. when I load map page it will just show the map with the given static latitude and longitude. after 10 seconds, it will plot the available vehicles from mysql table. … | |
Hello I have created an add to cart function but when I click on add to cart it replace the previously added products Here is my code Header Area details.php <?php require_once("includes/functions.php"); if(isset($_POST["addtocart"])) { $pid = $_POST["pid"]; $prod_name = $_POST["productname"]; $prod_price = $_POST["productprice"]; $category = $_POST["cat_name"]; if(isset($_POST['command']) == 'add' && … | |
In this code I am getting posts from database in table, table displays posts in three columns, now I want to add some jQuery to limit the number of rows and add a button which on clicking appends few rows to table I am not a professional programmer may be … | |
Hello, I am trying to incorporate bootstrap with this sliders. Any clue how to make it looks good? http://flickity.metafizzy.co/ <div class="gallery js-flickity" data-flickity-options='{ "freeScroll": true, "wrapAround": true, "imagesLoaded": true, "percentPosition": false, "pageDots": false }'> <div class="row"> <div class="col-sm-4"><img src="images/Portfolio/pic1.jpg" alt="pic1" /></div> <div class="col-sm-4"><img src="images/Portfolio/pic2.jpg" alt="pic2" /></div> <div class="col-sm-4"><img src="images/Portfolio/pic3.jpg" alt="pic3" … | |
Delete, managed to fix. | |
Hello, I have this code to print all locations from a json file: countries.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { "name": "Albania", "phoneCode": "355" }, "dz": { "name": "Algeria", "phoneCode": "213" }, "ad": { "name": "Andorra", "phoneCode": "376" } } Jquery: function getData() { $.ajax({ url: … | |
I have be writing code for Json requests, but haven't seen this before.. How do I go about it? I want to return all the countries with their name and Phonecode Here is the Json am getting request from: data.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { … | |
In my code below I am using javascript and php for building registration form. There are two files register.php that contains html code for form, javascript library and javascript code. Second file reghand.php handles php code for validation and inserting data. Data is inserted correctly into database after form validation … | |
Hi there, i have a piece of code which works in mozilla well but in chrome doesnt. function yoxi(){ var xhr = new XMLHttpRequest; xhr.open("GET", "yoxi.php", false); xhr.send(null); // alert(xhr.responseText) } function getirus(){ var xhr = new XMLHttpRequest; xhr.open("GET", "getirus.php", false); xhr.send(null); document.getElementById('onlineus').innerHTML=xhr.responseText; } setInterval(yoxi, 5000); setInterval(getirus, 5000); setinterval doesnt … | |
Hello. I want to submit a code stuff with an explanation. It is not a valid code. Someone can help me to find error? <code> ** ** I'm trying to build a program that change numbers writen in decimal notation. If we consider each ranges of numbers: unities, 10-es, 100-es … | |
I'm trying to simulate a mouse click event in IE/FireFox browsers when ctrlKey tag is true. I've googled it a lot, but I cannot find why my code isn't working. What supposed to happen: - triggerClick should click the link (that is fine in both IE & FF) - triggerClickCtrl … | |
The code below works well on all browser except for IE 8. So I added the respond.js script however it is not responsive in IE 8. Did I missed out something? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>index</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> … | |
Hello, I have created a drag and drop file uploader acctually downloaded from the internet I am trying to save the uploaded files to the database but it's unable to do so can anyone help me out or find a way for me to do so as the files are … | |
Hello recently I downloaded dropbox SDK and Ii's located in my downloads folder and it's dragging me to hell how do we install it no proper description provided nor a good details so we would be able to install it can anyone help me out there is no code to … | |
I have problem with my PHP AJAX code for uploading file. At first, it works fine then after a few months and reinstallation of my wampp server the code produces an error Error: Undefine variable ls_no, ch_no, grp_co, browser Heres the code that I wrote // upload_file.php <?php include_once("db_connect.php"); $chars … | |
Hello all.. I m currently having confusion on applying barcode scanner to scan tools in asp.net.. can anyone help me out with the codings? and kindly tell me the way to use scanner in asp.net (vb) thanku u :) | |
Hi all, I was trying to create a kill switch for hours but with no success i wasnt able i have tried css killswitch and ajax killswitch, this is the tutorial http://menacingcloud.com/?c=ajaxKillSwitch2 i tried but wasnt able to make it work i also researched and found csskillswitch.com but also that … | |
I am trying to retrieve the url from an iframe and successfully managing to do so, but I can only pick up the main domain, not the current url that the iframe is on. For instance if I am on http://dave.com/a_page it wil only return http://dave.com. I am trying to … | |
i am beginner in java, i am trying to display user name with image jsp page when loging with email id... plllsssss help me out... package User_pack; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.*; import DB.DBCon; import javax.servlet.http.HttpSession; import javax.servlet.RequestDispatcher; public class Validate … | |
Here's the instructions: Write a Song class that contains the following properties along with appropriate get/set methods. Please note this is a pretty simple object and not anywhere near the level of completeness required for writing an actual music player program (especially since this program doesn't know how to read … | |
Hello i want to put some html content on a lightbox pop up window, not just an image i use this script <a class="example-image-link" href="img/demopage/image-2.jpg" data-lightbox="example-2'cxxzxzzx'" data-title="Optional caption.'cxxzxzzx'"><img class="example-image" src="img/demopage/image-2.jpg" alt="image-1"/></a> this pop ups image2.jpg i want the window to show some html content like this <div > <span>html content</span><br … | |
I created a rating system where users can rate the posts, but I want to make it restrict like one user can only rate the post once I beleive my punctuation is better to be understandable like before as I got many negative feedbacks here but I am trying to … | |
Hello All, I very new to Java, JSP, MySQL and Google Charts [about 45 days experience]. I've been using the Netbeans IDE to create JSP's for interaction with a MySQL data base as part of a Linux based LAMP server that I've constructed. I've got a database that records event … | |
I use a Shield UI Chart for displaying some forex data. I do need to gradually add data to the chart in other dynamically add points. However according to the documentation, there isn’t the possibility for dynamically adding of points, at least I can’t see such method, something like: AddPoint … | |
Hi... Is there any other solution to use map but not google map, which works in offline also? | |
Hello, There is something strange about this website link: http://www.innovation.web.id/One/team-members.php The slides only works well on localhost IF I turn of the javascript. but only on localhost. NOT on online. I wonder why? I am taking the sliders from : http://flickity.metafizzy.co/ nav.php <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css" media="screen"> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script … | |
Dear all, I am developing a website which can upload photos and also uploading Name, Descrptions etc using one form and one "submit" button. I found this below: http://plugins.krajee.com/file-advanced-usage-demo#comments The Example has some codes but I am not sure how to put it into a HTML Form and submit to … |
The End.