15,127 Topics

Member Avatar for
Member Avatar for oz_nc

I have an Android Project for my homework. I will upload an image from phone gallery and find color which is dominant but color band includes other remarkable colors. This is what I want to do exactly. I found a website when I was researching. http://lokeshdhakar.com/projects/color-thief/ . It’s written with …

0
129
Member Avatar for Siberian

Hi, I didn't know where to place this thread :) Any recommendations for an IDE app to save snippets of code within the program, I looked online, and there are many options, too hard to pick ! :)

Member Avatar for Siberian
0
326
Member Avatar for raopatwari

I am beginer in java script. I need to do this in javascript I have a char feild, in which date is stored. I need to pass a parameters like 'PST'( pacfif timezone) and char feild, in which date is stored(2014-03-17 21:27:01). that should convert to CST time.

Member Avatar for Dervish1
0
74
Member Avatar for Kent55

Hi, I am making a game in JS where a player has to move in a grid movement and the grid contains squares of different colours. Each colour should affect the player's speed. I am learning JS so I appreciate any help. I have the following code at the moment: …

Member Avatar for Dervish1
0
299
Member Avatar for Kent55

Hi, I need to make a game in JavaScript where a user moves an image (or anything) around a grid and if they hit a wall they lose a life and in each grid box there needs to be colours and different colours have different speed affects on the player. …

Member Avatar for Dervish1
0
235
Member Avatar for faysal.ishtiaq_1

[Click Here](http://download.geonames.org/export/zip/)In this link, there is a txt file with all the zipcode and lattitude, longitude for US. How do I get lattitude and longitude for a zipcode from this text file, using javascript as I wanna create a google map application, that displays a location after providing a zipcode.

Member Avatar for sina.ak.3
0
152
Member Avatar for Siberian

var pizza = "hello there"; function orange() { document.write("hello there "+pizza); } orange(); function orange() { document.write("what is going on"+pizza); } var pizza = "hello there"; Why can't you create a global variable after a function, as done in the second example. Why for a global variable to work must …

0
63
Member Avatar for Haru_1

This is really stupid question and i feel ashamed to ask but i kinda have to. So here is the thing, in my college/school we got some sort of homework which isn't a "must do" but i wish to for myself, so thing we need to do is, when i …

Member Avatar for Haru_1
0
241
Member Avatar for winterprince

Hi I am new to javascript and am working on Linux mint OS.I would like to know how to randomise a 3*3 matrix consisting of nine thumbnail images every time you hit the refresh button in javascript,without displaying the same order of images twice in a consecutive manner.

Member Avatar for iamthwee
0
50
Member Avatar for CrankyMero

So here is the thing its been days since im trying to solve this, i'm debuggin a project from the company i work, its a web system, and here is the thing i have a javascript file which im going to call 'docart.js' and a core file which i will …

Member Avatar for k99rs
0
200
Member Avatar for nice_true

Hello, I need to transliterate the names of employees that are fetched from my database and write the transliterated values back into the database... For this I need to run a javascript code in a loop for as many no of records as in the database.... The code I am …

Member Avatar for stbuchok
0
217
Member Avatar for bLuEmEzzy

Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried window.open ("sinfo.php"); The problem was it opens in another tab. I want the next page (sinfo.php) to be on the current window. Thanx

Member Avatar for bLuEmEzzy
0
100
Member Avatar for os.kwesi

Hi All, I want a script that will allow me open a link to open in a frame when clicked on the site when the link is. Please see this example page: http://www.samachar.com/US-judge-will-not-change-Pandoras-songwriters-licensing-rate-odpiKOfgdce.html Will appricate any help. Thanks

Member Avatar for Alberto Bucur
0
50
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
333
Member Avatar for emortals

Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. I have a simple form with 4 checkboxes and a submit button. Each checbox has a unique value. The …

Member Avatar for Alberto Bucur
0
258
Member Avatar for emortals

I have hopefully a relatively straight forward one for you guys. Unfortunately not so straight forward for me. I have a an existing java script that works with a group of checkboxes that I have. Its quite simple, If you select a checkbox and click submit the javascript function will …

Member Avatar for emortals
0
166
Member Avatar for samuel.marx.7

I am very new to this and have been given code for a website i have. Please can someone help me and let me know how to convert code to an image? I have searched everywhere and cannot find the answer.

Member Avatar for iamthwee
0
58
Member Avatar for Milan_1

Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. <script language="JavaScript"> var myDate = new Date(); /* hour is before noon */ if ( myDate.getHours() < 12 ) …

Member Avatar for Alberto Bucur
0
233
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
458
Member Avatar for Violet_82

Hi all, I wonder if somebody can help me with this. I have this situation: I have a header div with a heading and when I click on it another div hiddenDiv slides down or slides up (I am using the slideToggle method). What I want to do also is …

Member Avatar for Violet_82
0
458
Member Avatar for Raquel_2

//random number generator var theDecimal = 0; function newProblem(){ theDecimal = Math.floor(Math.random()*256); //math.floor chops off decimals and rounds document.getElementById("startNumber").innerHTML = theDecimal; }

Member Avatar for Raquel_2
0
208
Member Avatar for Siberian

Hi, why is it, when you [click](http://jsfiddle.net/WildWind/d7jhN/) "whatever", the string "hello there" isn't written with the ID#thename input box ?

Member Avatar for JorgeM
0
105
Member Avatar for nadiam

hey guys so i have these drop down menu using ul and anchor and when i click on one an image should be displayed. the problem is when i click it the image appears but then disappears right after, like a second. html: <ul> <li><a href="" onclick="document.getElementById('banquetsix').style.visibility='visible';">6 Seater</a></li> <li><a href="">8 …

Member Avatar for patk570
0
850
Member Avatar for begueradj

Howdy, I found that the symbol "<" can be encoded this way: "[\xC0][\xBC]" Can you tell me in which encoding standard does "[\xC0][\xBC]" belong ? Regards from Begueradj

Member Avatar for ckide
0
104
Member Avatar for mattyd

Hello. I have been doing research for about a week on form validation (JS, jQuery, CSS). I already have a nice form, but I need to add the validation elements. I'm a bit stuck. I know what I do and **do not** want with the validation: **Want**: * Clean, nice …

Member Avatar for iamthwee
0
276
Member Avatar for komal_1

I want to load a completely new html page in a html via javascript <html> <head> <script> function load_home(){ document.getElementsByTagName("body")[0].innerHTML='<object type="text/html" data="test1.htm" ></object>'; } </script> </head> <body onClick="load_home();"> </body> </html>

Member Avatar for JorgeM
0
214
Member Avatar for mac.barbiec
Member Avatar for suavedesign

I am trying to open a page as a lighbox- and I dont know why its not working- the url is https://www.townehomecare.com/services- where it says "read more" in the middle of the page, I want that new page to open as a lightbox, but instead it opens a regular page. …

0
80
Member Avatar for mwnt2014

JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both....

Member Avatar for diafol
0
107
Member Avatar for jj.dcruz

I have a problem using many dropdown/select in which i needed to filter everytime i change the dropdown I dont know how to do this. for example: 1st dropdown is location *which I selected* **pasig** it should filter -> 2nd is bedroom which **pasig** has **3** data *1,2,4* it should …

Member Avatar for pritaeas
0
187

The End.