15,120 Topics

Member Avatar for
Member Avatar for SirMahlon

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 …

Member Avatar for diafol
0
320
Member Avatar for hell hansen

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 …

Member Avatar for hell hansen
0
208
Member Avatar for Harman_2

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 …

Member Avatar for jkon
0
186
Member Avatar for AntonyRayan

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

Member Avatar for Taywin
0
104
Member Avatar for UK-1991

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

Member Avatar for Taywin
0
487
Member Avatar for Harman_2

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 …

0
95
Member Avatar for davy_yg

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

Member Avatar for davy_yg
0
274
Member Avatar for MissMolly
Member Avatar for kindo

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

Member Avatar for kindo
0
183
Member Avatar for kindo

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": { …

Member Avatar for diafol
0
345
Member Avatar for Harman_2

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 …

Member Avatar for Taywin
0
609
Member Avatar for azegurb

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 …

Member Avatar for Taywin
0
274
Member Avatar for kouty

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 …

Member Avatar for kouty
0
644
Member Avatar for Eti_1

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for solomon_13000

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

Member Avatar for gentlemedia
0
224
Member Avatar for UK-1991

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 …

Member Avatar for UK-1991
0
226
Member Avatar for UK-1991

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 …

Member Avatar for cereal
0
289
Member Avatar for jeffersonalomia

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 …

Member Avatar for diafol
0
310
Member Avatar for Deva Kaur

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 :)

Member Avatar for pritaeas
0
339
Member Avatar for Testt

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 …

Member Avatar for gentlemedia
0
565
Member Avatar for cambraydesign

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 …

Member Avatar for Taywin
0
175
Member Avatar for Armaan_1

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 …

Member Avatar for Taywin
0
283
Member Avatar for 76342ck

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 …

Member Avatar for JamesCherrill
-1
2K
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
250
Member Avatar for UK-1991

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 …

Member Avatar for diafol
0
297
Member Avatar for Edmund_1

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 …

Member Avatar for Edmund_1
0
421
Member Avatar for perez-martin

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 …

Member Avatar for baker-thomas
0
250
Member Avatar for AntonyRayan

Hi... Is there any other solution to use map but not google map, which works in offline also?

Member Avatar for almostbob
0
920
Member Avatar for davy_yg

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 …

Member Avatar for diafol
0
302
Member Avatar for Liang_1

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 …

Member Avatar for Liang_1
0
1K

The End.