15,127 Topics

Member Avatar for
Member Avatar for glao

I wrote this function : function range(start,stop,step) { var array =[]; for ( var i = start; i <= stop; i += step ){ array.push(i); } return array; } var m = range(1,10); console.log("length = " + m.length); And it returns one. Since, range returns an array , should't it …

Member Avatar for glao
0
128
Member Avatar for AntonyRayan

Hi, I need your help to zoom a place when click a marker in Leaflet. I used this code from http://leafletjs.com/reference.html#control-zoom map.on('click', function(e) { alert(e.latlng); }); this click event not working

0
157
Member Avatar for CreatorZeus

im starting to play with html5's new media stuff but i can't quiet figure out how to send a songs info to play in a iframe. any hints?

0
162
Member Avatar for Seung Hwan

My object: Take latitude, longitude columns from textfile(.txt) and mark them on googlemap api v3. For the first step, I made a code for reading textfile by javascript and html. When I run this code, chrome and IE browser open well but nothing happened. javascript part don't work. How can …

Member Avatar for hericles
0
236
Member Avatar for thatsnotmyname

my web application is really simple there are two buttons one called "save" and the other called "show my images" basically the user can save images from facebook API and store them in the server folder called "backup" (to back up their images on the server so if they deleted …

Member Avatar for broj1
0
225
Member Avatar for jonsan32

I've got a new navigation layout I'm trying to implement at this url: http://www.50allstars.com/2016/05/grid-menu.html?m=1 It's not all done yet, but in my tests I've found this page to not work on an old un-unpdatable ipad of mine. I figure since not all people are internet-savvy, I'd best think of the …

Member Avatar for broj1
0
168
Member Avatar for WmsuUser

Im a newbie and i am a student and new to php could anyone teach me how to upload image to database and view it.Please Help me or send the link for complete tutorial

Member Avatar for FarrisFahad
-1
186
Member Avatar for FarrisFahad

So I am using jQuery waypoint to get the image id that is viewed on the screen. But I am having problem with content added by AJAX. When I get to the newly added content by AJAX the plugin doesn't work. Here is my code so far: Waypoint = $('.Picture-1A').waypoint(function(direction){ …

Member Avatar for FarrisFahad
0
980
Member Avatar for Violet_82

HI guys, I run into a problem. I have a input of type file and I'd like to grab the file name of the uploaded file and assign it to a variable, but I don't seem to be able to do that. I'm hiding hte input with opacity 0 and …

Member Avatar for Violet_82
0
319
Member Avatar for fflime

I want to make countdown timer in multiple choice. I want to display question one by one. But when I click next for the next question, the time is start from 10 minutes again, not continue. How to make an alert if the time was over, it would be directly …

0
132
Member Avatar for jonsan32

I'm trying to create a menu on my site that is a 4x5 grid. I've kinda designed the default state with the code below, but I'd like for that to be the 4 headers with the top 4 cells and the remaining cells to be random b&w pictures used as …

Member Avatar for Troy III
0
234
Member Avatar for infoitmanoj
Member Avatar for AntonyRayan

Hi, I need your help to plot multiple locations from mysql table using latitude and longitude and I want to display a particular location in different color using google map or any other

0
124
Member Avatar for TheFearful

Hey everyone, I have a question and I am not sure if it's possible or not to do it with what I'm using. I am using HTML, PHP, JavaScript, and mySQL to make a web page that pulls information from a Database. After that, I want to have a dropdown …

Member Avatar for TheFearful
0
579
Member Avatar for arda_1

<!DOCTYPE html> <html> <body> <script type="text/javascript"> var images = ["strawberry.jpg", "apple.jpg", "cherry.jpg", "orange.jpg", "pear.jpg"]; var length = images.length; var randImg1 = Math.round(Math.random() * (length - 1)); document.write('<img src="' + images[randImg1] + '" >'); var randImg2 = Math.round(Math.random() * (length - 1)); document.write('<img src="' + images[randImg2] + '" >'); var randImg3 …

Member Avatar for mblan180131
0
270
Member Avatar for glao

Hello ,I want to ask how can I succeed an analogous from mongodb to postgresql. app.post('/myjob', function(req, res) { var collection = db.collection('theDB'); collection.insert({ "my_id" : myID, .... }, function (err, mes) { if (err) { res.send("There was an error"); } else { console.log("Ok with ID "+myID); res.send({ "Done!", ID …

0
154
Member Avatar for rouse

I am looking for someone who has used jQuery in the capacity of assigning a value to a text area when the user clicks a radio button. Here is the example code I have worked on so far that does not work. [code] <div id="donationForm"> <form id="formDonate" method ='request' onsubmit='return …

Member Avatar for alexbestoloci
0
512
Member Avatar for AntonyRayan
Member Avatar for cereal
0
118
Member Avatar for vishal_isharani
Member Avatar for Filipe_2

I have two differents select tag, but my script change both at the same time!!!! I need each image change with yours respective Select How can I do that? Please HELP from Brazil. Sorry for my bad english. My Code <html> <head> <script type="text/javascript"> /* URL of folder with images …

Member Avatar for DarwinJones
0
205
Member Avatar for TObannion

I'm making a series of webpages, and need to control top level navigation through an external JS file. I can't even think of how to begin to code this. Does each page need to be assigned an array index? Then how do I hide the link to the current page?

Member Avatar for TObannion
0
158
Member Avatar for mattyd

I am working on developing a simple site, optimizing for mobile. I am using jQuery at this time to render basic, rollover buttons using image-swapping. The issue I am having involves using **multiple**, different buttons; for example, 3 buttons, different images for each (one "on" image, one "off" image for …

Member Avatar for gentlemedia
0
289
Member Avatar for shandoo1997

Hi, I have a raspberry pi in which I use kweb in kiosk mode. To display a webpage. What I am trying to do is to be able to navigate through the webpage using my phone. What I am struggling with is how can I make this kind of connection …

Member Avatar for shandoo1997
0
352
Member Avatar for shashigowda

Hi iam working on one scenario.. employe A send a Requesting mail to Project manager B, project manager B approves a request from employee and send the mail to project manager C for further process,after approving from project manager C it will go to department head like this... so here …

Member Avatar for Zagga
0
238
Member Avatar for yaragalla_mural

Hi, i am in need of urgent help. I have created a web template using bootstrap. I have created a "collapseble" nav bar and used "parallax, jquery single page nav" to scroll on the same page smoothly.This worked fine. There is no problem in it. After that according to the …

0
170
Member Avatar for Hope_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Membership</title> <meta name="GENERATOR" content="PHP"> <script> function validateEntries(form){ if(document.myForm.firstname.value == "" ) { alert( "Please provide your name!" ); myForm.firstname.focus() ; return false; } if( document.myForm.lastname.value == "" ) { alert( "Please provide your last name!" ); document.myForm.lastname.focus() ; return false; } …

Member Avatar for Hope_2
0
363
Member Avatar for TObannion

I am trying to create a dtd that emulates a car dealership. It sells trucks, sedans and hatchbacks, as can be seen in my dtd. The dealership would keep track of how many doors and wheels each vehicle has as well as the model and year in addition to how …

0
122
Member Avatar for TObannion

I am trying to make a page that displays an image, and then utilizes a group of radio buttons and an apply button to perform effects on the image in the `<div>`tag . It is using the show(), hide(), Toggle(), Fade In(), Fade Out(), Fade To(), Slide Down(), Slide Up(), …

Member Avatar for TObannion
0
258
Member Avatar for Stefce

Hello guys i want to make inputbox which will autocomplete the started word so you know what i mean like google, facebook who have autocomplete but i have a little problem i have searched and found some plugins and tutorials but actually none of them work i dont know why, …

Member Avatar for rproffitt
-1
740
Member Avatar for du_ebrithil

I was wondering how you would make a grid in a javascript canvas, a 10 pixel by 10 pixel grid for a game I am making thank you for your response.

Member Avatar for ryantroop
0
161

The End.