15,127 Topics

Member Avatar for
Member Avatar for aparnesh

I have 3 SELECT elements, one of which contains text and the other two numbers. Values in all 3 selects are generated dynamically from ASP. The Option elements in the selects are being added by a Javascript Code like below [Code] var newOpt ; newOpt = document.CreateElement("option"); newOpt.text = <%=Value%> …

Member Avatar for aparnesh
0
141
Member Avatar for desiguru

I cant find a good solution for my fist java script class. Can someone help me here. The result is not showing up here. [code=javascript] <script language = "JavaScript"> document.write('<center><h3>-- Myname 23 -- ') myDate = new Date (); document.write(myDate.toLocaleString()); document.write('</h3></center><hr>'); </script> <script language = "JavaScript"> // Add, subtract, multiply, …

Member Avatar for MidiMagic
0
99
Member Avatar for enggars

Hello... I use javascript countdown timer in my page. Each time the page is being refreshed, the countdown is restarting. I blocked the F5 function to avoid the page being refreshed. It works, but it doesnt block the browser's refresh button. So what i gonna do is unblocked the F5, …

Member Avatar for enggars
0
2K
Member Avatar for tefflox

I want to use javascript and php to make black dots appear on the screen. So far, I have the following code, which isn't working. What am I doing wrong? [code] function dots() { var dot = document.createElement("div"); dot.style = "position: relative; background-color: #000; height: 10px; width: 10px;"; document.body.appendChild(dot); }[/code]

Member Avatar for bosko
0
90
Member Avatar for PRSop2000

I'm trying to make a website that has a block of about 56 colors off to the right of a main image of a dress. You click a color block and it changes the dress to the picture of the dress in the color clicked. I cannot find any script …

Member Avatar for vickies
0
265
Member Avatar for tefflox

I'm learning javascript. My first idea has led to a problem. I'm trying to set up strings to load at random intervals on different parts of the page, but I don't know the right function to use with setTimeout(). I hear "don't use document.write" and "probably don't use innerHTML", but …

Member Avatar for digital-ether
0
72
Member Avatar for Rashakil Fol

I'm getting some javascript that's causing slowdowns. It's stuck in an infinite loop or something. This is on Konqueror. Never happened before.

0
108
Member Avatar for clickbanners

Please can someone help, I would be most grateful for any help as I am new to this and I am really stuck.:( I used Javascript that I copied and pasted from the 'Google AdSense' on to my Freewebs.com page, now I cant edit my page. When I view my …

Member Avatar for MidiMagic
0
96
Member Avatar for Mohandsa

[B][COLOR=royalblue]Dear All,[/COLOR][/B] [B][COLOR=royalblue][/COLOR][/B] [B][COLOR=royalblue]i write this html to get date in this format 4/1/2007 00:00:00[/COLOR][/B] [B][COLOR=royalblue]but output is [COLOR=red]Sun Apr 1 00:00:00 UTC+0200 2007[/COLOR].[/COLOR][/B] [B][COLOR=royalblue]please help me to convert it to this format 4/1/2007 00:00:00 to use it in select from al DB .:lol: [/COLOR][/B] [B]<html> <head> <SCRIPT type="text/javascript"> function …

Member Avatar for richfeed
0
110
Member Avatar for SAMSEIED

Hi: I am designing this Dinner menu using Javascript, but when I up-load it, it only opens, the first pharase in green color that says dinner menu and it does not run which is suppose to show the menu for everyday's food.here is the codes, your help is apprecaited. <HTML><HEAD><TITLE>SAM'S …

Member Avatar for connor4312
0
139
Member Avatar for janda5

I have an Intel Pentium 166MHz w/MMX Computer and use Windows 98. A web site I was trying to access had this error message: "ERROR! JavaScript is required to use this site!" I then downloaded and installed JRE (Java Runtime Environment), Version 6, Update 1. I even customized my Security …

Member Avatar for The Dude
0
110
Member Avatar for Sukanto

I am unable to debug the following code. I can't find any errors here. I am getting the button but after clicking on it, only [b]Time Remaining: 10000 msecs[/b] is being displayed. In Firefox 2.0.0.3: I checked the error console, it shows [b]timedCount is not defined[/b] on line [b]t = …

Member Avatar for Sukanto
0
155
Member Avatar for asmqb

Hi everyone! I'm currently working on a navigation bar for a personal website and, although transparency is working great, has a couple of problems with browsers that use... fonts that are not around the size (specifically the [I]height[/I]) of Helvetica. I basically have a [inlinecode]<div></div>{...}</li></ul>[/inlinecode] block. The first [inlinecode]<div></div>[/inlinecode] combination …

Member Avatar for MidiMagic
0
168
Member Avatar for MDGM

hi all, I have a special type of gallery on my website ([URL]http://www.grafax.co.uk/newtest/gallery[/URL]) which uses a javascript file to make a div tag hover over the gallery with the image inside of it. however, the page shows before the javascript file is loaded, and so displays the image in the …

Member Avatar for MattEvans
0
139
Member Avatar for Sailor_Jerry

Is there a javascript function that will reload a dom element if given the element id? I am using javascript to update a divs innerHTML with the location of an image. Cut of the javascript code below. [code] var images = new Array(32); images[0] = "<img src=\"images/album/1.jpg\" />"; images[1] = …

0
82
Member Avatar for shaggysc96

I have come across a slideshow I want to use on my site. I am using coldfusion to write the site, but know very little javascript. I cannot figure out how to get the text to show up and change with each slide. I am posting all of my code. …

0
103
Member Avatar for marylove2007

I am trying to divide the code to four function Second. The Smallest does not work Third when any of 10 Grade is not between 0 and 100 the alert box say that Grade (Number of Grade) is not a number between 0 and 100 Please correct! for example Grade …

0
53
Member Avatar for vallala

<html> <head> <title>student details</title> <script language="JavaScript"> function sum() { window.document.form1.total.value=parseInt(s1.value)+ parseInt(s2.value)+ parseInt(s3.value)+ parseInt(s4.value)+ parseInt(s5.value); } function grd() { var s1,s2,s3,s4,s5,avg; s1=parseInt(window.document.form.s1.value); s2=parseInt(window.document.form.s2.value); s3=parseInt(window.document.form.s3.value); s4=parseInt(window.document.form.s4.value); s5=parseInt(window.document.form.s5.value); avg=(s1+s2+s3+s4+s5)/5; if((s1>=40)&&(s2>=40)&&(s3>=40)&&(s4>=40)&&(s5>=40)) { if(avg>=70) window.document.grade.value="distinction"; if(avg>=60) window.document.grade.value="a grade"; if(avg>=50) window.document.grade.value="b grade"; if(avg>=40) window.document.grade.value="c grade"; else window.document.form1.grade.value="fail"; alert("sorry u need to improve"); } alert("congratulations"); } function …

Member Avatar for vallala
0
78
Member Avatar for enggars

Hello. I have an ASP page that require printing. The page is about showing some data from database. I use the simple javascript printing : [B]javascript:window.print() [/B]The page design use some css templates. Well it does print. But it only prints the images and the texts. The print out seems …

Member Avatar for enggars
0
93
Member Avatar for Racoon200

Ive been searching for lots of time, but yet with my goal unaccomplished. Can somebody tell me a -free -javascript tool -fast -syntax highlighting -program please?

0
50
Member Avatar for Marko7

Guy's I hope you can help. I am getting a screen whentrying to search on Internet explorer which says the following: Javascript document referrel It will not let me use my search engine at all, I am re-directed to this page every time. I have tried various spyware/adware anti virus …

0
53
Member Avatar for jpmad4it

Hello everyone, I have built a DHTML & Javascript menu using the Deluxe Menu ([url]www.deluxe-menu.com[/url]) software package. The problem is that in IE7 the menu works fine, yet in Firefox it is displayed behind everything. If you look here using IE and Firefox you can see the difference when you …

Member Avatar for jpmad4it
0
350
Member Avatar for snehalppatel

Hello friends, I am looking for the javascript for sqldatabinding with Select dropdownlist in ASP.NET. I want to populate HTML Select dropdown with my sql query. How can i do this? Thanks in advance. Snehal

Member Avatar for DanceInstructor
0
46
Member Avatar for Swapna Nair

Hi, I am working on implementing a navigation tree which lists the configured network objects dynamically. Has somebody worked on a similar kind of project? It would be of great help if somebody can provide information on this as I am a beginner in terms of JavaScript programming. Thanks -Swapna

Member Avatar for senthilmohan
0
34
Member Avatar for Andres

I need an example of a tree done in javascript and that can make things when you click the tree folders ... Any page or example in javascript please. Thanks...

Member Avatar for senthilmohan
0
127
Member Avatar for sandeep0708

Hi all, I have a simple problem but a major 1 for me now... i need to pass the selected value of radio button from 1 jsp to another jsp i.e when user selects a radio button option and then clicks on the submit button then the selected value should …

Member Avatar for Thendral
0
99
Member Avatar for jnscollier

I really like the functionality that google uses to show their newest news. If you click the link below and look at the right side, I like the manual movement of content using the up and down arrows... I'm not sure if this is a scroller? [URL]http://finance.google.com/finance?q=SBUX[/URL] Anyone know? Anyone …

Member Avatar for dygital
0
121
Member Avatar for alskdjf

I'm having a bit of a problem getting my javascript to run in Firefox (version 2.0). It works fine in IE6. Here's the HTML: [code="HTML"] <td> Black Eyed Susan </td> <td align="center"> <input type="text" name="blackeyedsusan" value="" size="3" maxlength="3" onChange="javascript:calculatecharges();"/> </td> [/code] And the script: [code="JavaScript"] function calculatecharges() { var totalPackets …

Member Avatar for alskdjf
0
93
Member Avatar for grunge man

hi i have an idea of taking a foarm and like making a simple calculator with javascript and im wondering if i have to send the input to one of thoughes programs that retrives the data or could i just do this in the coding of the webpage?

Member Avatar for grunge man
0
48
Member Avatar for enggars

I'm currently working on my online quiz application. It is based on ASP. I want to add the countdown timer in every quiz that run. But the problem is the javascript will go freeze in my ASP, it only run each time i refreshed the page. Some suggest me to …

Member Avatar for davidcairns
0
153

The End.