15,127 Topics

Member Avatar for
Member Avatar for Violet_82

HI guys, I've just run into an issue. Basically I'm working t a wordpress site, and there are some conflicts with the usage of the "$" sign so I used this in the document ready to allow me to use "$" in place of jQuery: jQuery(document).ready(function($){ ... }); It works …

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

Hello, I have created a form using ajax and php but when I click on submit the values in the textarea remains as it not disappears so I found a way to make form reset once I click on submit here is my code and please let me know how …

Member Avatar for UK-1991
0
248
Member Avatar for zelrick

Hello Web Developers; I'm having a hard time figure out why I can't do a simple table. I have an lines that contain ul and li, If i put them inside the table tr and th the bullet comes out which is I set it none. Please help me with …

Member Avatar for diafol
0
372
Member Avatar for kouty

Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …

Member Avatar for kouty
0
328
Member Avatar for Tierra

We have homework due tomorrow, and it's a three person group. I don't understand the slightest bit about arrays, but I've been trying - now the code just looks messy. Just with the things that say ------------------Tierra------------------, can you all help me? The book is useless and I'm just frustrated …

Member Avatar for Tierra
0
298
Member Avatar for Gopi_2
Member Avatar for kouty

Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …

0
98
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
322
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
189
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
489
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
275
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
184
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
357
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
611
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
646
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
225
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
227
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
291
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
312
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
344
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
568
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

The End.