15,688 Topics
![]() | |
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> … | |
i need one form textbox value change, In that value pass into another form textbox in my website.... ![]() | |
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 … ![]() | |
The below code insert comment and display right. I want to add like button, share button, follow button .And it must be in array when the story is displayed must be attached with comments,like,share and follow button. Help me how can i put that in code . Thanks ![]() | |
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 … | |
I added input-group to my textarea to fix a text overlapping once the form was submitted. Now I cannot type anything in the textarea on IE9 it works on every other browser even IE 6. Any body has ran into a problem like this? Bellow is a code snippet <cf_yrmc_input … ![]() | |
Hi... Is there any other solution to use map but not google map, which works in offline also? | |
![]() | Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta. |
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 … | |
hi i just want to ask and ask your help . can you guys help to make timer in my quiz page. seriously i have no idea how to do it. plus im still new in this field around 7 month , so i dont know where to put the … | |
I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template … | |
Hello, I have just created a form and the form data is submitting using Ajax as I wanted the user to be on the same page after he submits the form as there are bootstrap accordian tabs data is submitting properly and retriving as well no problem but when the … | |
In a table, I show S.No , Name , Amount, Payable Amount, Balance Amount dynamically. So I need a calculation to show balance amount by subtracting payable amount with amount for all textboxes in onblur dynamically. Here is my code. But it does for only the first row, and how … |
The End.