15,688 Topics

Member Avatar for
Member Avatar for tiimoo

Hello, I hope that someone would be able to help me to solve this simple problem. My goal is to get the value in the array from selection drop down list. Basically, I create an Array in Javascript and a selection drop down list in the body. [CODE] <script type="text/javascript"> …

Member Avatar for srushtiagarwal
0
97
Member Avatar for cutekate

This code is able to display a table and show me state, County, Genus and GenusCount and also it shows when I select option as All for Counties in my drop down. it can based on which it can change my table and give me State, all the Counties, its …

Member Avatar for cutekate
0
64
Member Avatar for youlichika

I use wordpress 3.0.1 and install Exec-PHP plungin. I edit the code in admin panel- pages - html cede. I want to add some javascript in a custom page. when the code use two ampersand. it occupy wrong. `& &` become `& # 0 3 8 ; & # 0 …

0
80
Member Avatar for rajeesh_rsn

Hi friends, In one of my web page I want to show an image preloader. ie When I clicked on the small thumbnail in my web page then the main large image will load. My code looks something like this [ICODE] $("#images li").click(function(){ var image=this.href; $("#mainImage").attr('src',image); });[/ICODE] I want to …

Member Avatar for Airshow
0
100
Member Avatar for bspace

How do you escape a colon in JavaScript? I've tried several fixes (backslashes, hexadecimal code) and no luck.

Member Avatar for ko ko
0
104
Member Avatar for georgeee123

Hi, I am working on a chat program. When a user logs in, a value in the database is set to 1 (online), and when he/she logs out it is set to 0 (offline). The problem is, when the user exits the browser, naturally the value is still set to …

Member Avatar for georgeee123
0
406
Member Avatar for merse

I've made an empty mynote.txt in the same directory, and open the following code with Internet Explorer, and allow to write on hard disk (when IE asked) but nothing in the text file: mynote.txt after the run. what is the problem? [CODE]<html> <body> <script type="text/javascript"> function WriteFile() { var fh …

Member Avatar for scrappedcola
0
331
Member Avatar for vingan

Hi, I am a beginner when it comes to javascript. I need to help in creating a marquee type scrolling images. Can someone help me on this by providing me with the code? Thanks

0
63
Member Avatar for pikkas

hi guys, i am trying to populate a listbox the number of the current month in listbox. and i am using an onload event of the body but it doesnt works. any help please?. i am new on javascript. [CODE] function dat(){ var date=new Date(); var Month= toString(date.getMonth()+1) this.Monthlistbox.options=new Option(Month,Month,true,true); …

Member Avatar for mahavir123
0
143
Member Avatar for Brian.Walsh

i am having difficulty making a 2d array that prints integers from 0 - 99 in all odd numbers. I can make it print in multiples of three, but not only odd numbers. Whay can i not do this? Can anyone give me a nit or help?

Member Avatar for mahavir123
0
52
Member Avatar for cutekate

I have a triple drop down menu and when I select an option for first drop down, based on that I get the values populated in the second drop down but these values in the second drop down do not clear even though I change the change the option of …

Member Avatar for Airshow
0
86
Member Avatar for arctushar

Hi I m using[B] recaptcha[/B] and [B]msn indic[/B] in my Website. Now I want that recaptcha will not work in recaptcha. Remember I m usint optout option for msn indic. Please help me.

0
62
Member Avatar for merse

I've made an empty mynote.txt in the same directory, and open the following code with Internet Explorer, and allow to write on hard disk (when IE asked) but nothing in the text file: mynote.txt after the run. what is the problem? [CODE]<html> <body> <script type="text/javascript"> function WriteFile() { var fh …

Member Avatar for peter_budo
-1
90
Member Avatar for nadskap2

Hey there DaniWeb, Recently i found out that there was a thing that didn't work in my CMS. Code (index.php): [code] <body onLoad=\"javascript:loadManageNews();loadManageNav();loadMCE();\"> (in a PHP file) [/code] Issue: It calls the loadManageNews() function just finse but it doesn't call the loadManageNav(). It also loads the loadMCE() function just fine. …

Member Avatar for Airshow
0
91
Member Avatar for laureenc

Hi, I'm new to this community and hope im in the right place :-) I have been searching everywhere for the proper method to pass input from one html form to another. I have found a bunch of javascript that is supposed to break down a query string and populate …

Member Avatar for Graphix
0
959
Member Avatar for QWaz

Hi, I am not sure if this is possible in css or it's a javaScript thing. I have a page where it has many images, If you hover over the image the details of that image appear to the top left. However when the images are over next to the …

Member Avatar for QWaz
0
188
Member Avatar for prionkor

Hi, i am working on a facebook page with custom fbml page. Here is the link: SNIP I want to make a jquery slideshow in the page. Is it possible to use jquery there. I write a script which work on other website but not working there. I am importing …

0
71
Member Avatar for vingan

Hi, I am new to Javascript and I was wondering how I should be able to create a horizontal image scroller. I tried it with marquee tool, but it doesn't seem to work on IE8. Can someone please provide me with the code? Thank you.

0
66
Member Avatar for saikatroy1985

Dear Sir Sir i am designing a mail service in which every frame should be the same but i am not getting any suitable solution for that. e.g.: If i click the inbox button the frame size is same as we click other button like compose,sent mail etc. If AJAX …

Member Avatar for saikatroy1985
0
95
Member Avatar for cutekate

I need to display a table in a new window. when I click on a button, I got the values displayed in the same window but in a fresh page. I want the values in a new window instead of same window but in a fresh page. The below function …

Member Avatar for mohanrajit.88
0
131
Member Avatar for ppohlmann

Hello Gurus, i have several forms on a page that get generated dynamicly form a database. Checking the fields etc requires an id for each form .. i have a problem with this code here. . elid is the id of the form .. the elid gets passed from the …

Member Avatar for Airshow
0
112
Member Avatar for Aventurine

Hi there, I am a PHP developer and know little of JS - in my current project I have hit a few probs as I know I need to incoporate some JS. After some help already from this community I have almost completed the JS part of one page that …

Member Avatar for Aventurine
0
206
Member Avatar for georgeee123

Hi, I have a database with field 'status' which is default 0 when offline and 1 when online. I was wondering if anybody knows a way to update the database in the event of browser close (set the 1 to a 0). It has been suggested that I use a …

0
49
Member Avatar for louiscos77

Hey guys, I'm making a 3d engine for html5 (canvas) but I have some problems well here is my code for the html document engine3d.html [code=html] <html> <head> <script src="engine3d.js" language="JavaScript" type="application/javascript"></script> <script type="application/javascript"> function init() { //creating canvas canvas=document.getElementById("canvas"); ctx=canvas.getContext("2d"); ctx.beginPath(); color3(ctx,0,.5,0) ctx.moveTo(0,horizonZ) ctx.lineTo(500,horizonZ) ctx.moveTo(0,startZ) ctx.lineTo(500,startZ) translate3WithoutRotation(ctx,100,0,1) vector3WithoutRotation(ctx,100,0,90) vector3WithoutRotation(ctx,200,0,90) …

0
95
Member Avatar for ryoonnet

Hi, I am trying to achieve multiple file upload using Ajax, or at least it should look like ajax (without page reload). Below is my code... [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Uploader</title> <link rel="stylesheet" type="text/css" href="/django_forms_media/css/igp_edp-main.css" /> <script type="text/javascript" src="/django_forms_media/js/jquery-1.3.2.min.js"> </script> <script type="text/javascript"> var file_array = …

0
85
Member Avatar for RicardoE

Hello, you'll see I'm a gamer as well as a web/desktop developer and I have built so many application in both technologies. But yesterday I was amused by something I saw. I like to play this Combat Arms game from Nexon a very well developed FPS online action game, scince …

Member Avatar for Graphix
0
170
Member Avatar for avinash_545

hi all, I am working on a small assigment but this code just wont work. I dont know what the problem is. Can anyone please debug it.[code]var xmlhttp; function listFriend(){ xmlhttp = false; /* For Firefox*/ if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else /*For IE*/ if (window.ActiveXObject) { …

Member Avatar for mohanrajit.88
0
104
Member Avatar for madkixt

Hello all ... Greetings I'm learning the basic javascript, I tried to combine between conventional javascript and Jquery framework but I have a little problem ... this my function [B]addRow[/B] [CODE] function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; …

0
54
Member Avatar for Griffin54

Greetings all! For some reason the following code does not work in Firefox and Opera: target="_blank" The above code works fine in IE and Safari. But when I close a web page that includes this code in either Firefox or Opera the entire browser closes - not just the one …

Member Avatar for peter_budo
0
59
Member Avatar for diafol

Hi folks, getting a problem adding name/values to make an array to pass to php. I've got a number of inputs named [B]week_start_x[/B] (where x is an integer ranging from 1 to a dynamic number [generated through php] - the max no. is determined by another field called 'yearblocks'). I …

Member Avatar for Airshow
0
884

The End.