15,120 Topics

Member Avatar for
Member Avatar for blackjpb

Help! I've read loads of near identical posts on this forum and others about similar problems but i can still not fix this problem. It only started about 1 month ago. In that time I have installed a number of microsoft patches as well as having run ad aware recently …

Member Avatar for Super26
2
220
Member Avatar for ForestTech

Hi, I'm trying to validate a checkbox in the form and I'm not sure which property to use. At the moment, I have a checkbox called "termsandcond" and I'm trying to write a javascript validation script that checks to see if it is ticked or not. [code] function validate(){ var …

Member Avatar for MattEvans
0
114
Member Avatar for shabam

Hello, I'm a newbie and have just spent about 4 hours making the attached code work. The only problem is that it works the opposite of how it should. I have an image map and i loop through and place images to the images that i want to showup when …

0
100
Member Avatar for spike29

Question for a Book (Inernet & WWW How to program) Write a JavaScript program that uses Looping to print the following table of valuses. Qutput the results in an XHTML table. N 10* 100* 1000* 1 10 100 1000 2 20 200 2000 3 30 300 3000 4 40 400 …

Member Avatar for spike29
0
1K
Member Avatar for procyon

I am working on a website and I dont know much of Javascript,but I need to put to work different scripts on the page,and it wont work!:sad: I've already try to chage all that I remeber to chage,but dosen't work!What I am doing wrong?Can anybody help me out? Here is …

Member Avatar for procyon
0
108
Member Avatar for Spycat

Hi, I have a page that features chocolate recipes. I wanted to give the ability for visitors to print out INDIVIDUAL recipes contained upon the page. I thought I had it made by going: [INLINECODE]a.document.write(document.getElementById('printit').innerHTML);[/INLINECODE] Of course, this only printed the 1st recipe...no matter which one was selected. I tried …

Member Avatar for Spycat
0
215
Member Avatar for ChoosenJoe

I am trying to use Javascript to stop a web page processing a search when the user hits a cancel button. In Netscape, window.stop() seems to work (in the same way as the Stop button on the browser I guess). However, this does not work in IE. Is there any …

Member Avatar for katarey
0
60
Member Avatar for MDGM

Hi all, I have a menu on my website and i got the code from a website called dynamicdrive.com, and the menu is based on css and a bit of javascript, with the menu content consisting of list values. The initial border for the menu is black, so that little …

Member Avatar for tgreer
0
154
Member Avatar for shaun09

I'm trying to validate some fields in my form but can't get it to work. I think it's because of the submit button code. Could someone please help identify the problem? [code]<script language="JavaScript"> function validate_form ( ) { if ( document.leaveform.dc1.value == "" ) { alert ( "Please select start …

Member Avatar for katarey
0
117
Member Avatar for hwfa

I'd like to build a structure in Javascript. I think it will be an array in which each element will have multiple properties. For example var person = new Object(); person[0].firstName="John"; person[0].lastName="Smith"; person[0].phoneNumber="555 1234"; person[1].firstName="Jane"; person[1].lastName="Robinson"; person[1].phoneNumber="555 6789"; etc. and then things like document.write(person[0].firstName); This doesn't seem to work. What …

Member Avatar for MattEvans
0
108
Member Avatar for michael123

In html page I have two forms: [html]<form name=fm1 method=post action=aaa.html> <input type=text name=a1> <textarea name=a2></textarea> <input type=submit> </form> <form name=fm2 method=post action=bbb.html> <input type=text name=b1> <input type=submit> </form>[/html] Now the question is if I submit "fm2", is it possible to also submit the text area which is in "fm1"? …

Member Avatar for katarey
0
72
Member Avatar for raheleh

[COLOR=#000000]Hi every body [/COLOR] [COLOR=#000000]I don't JavaScript language well. I want to know about visibility or disable html's controls on a web page. I have a web page and I want disable some controls and print my page and after that the controls back to preview condition.[/COLOR] [COLOR=#000000]Pleeeeeeeeeeeeeeas help me:sad: …

Member Avatar for digital-ether
0
148
Member Avatar for MattEvans

Can it be done? I'm thinking along the lines of :hover.. :visited etc; Could I register my own psuedoclasses? ;) X.Y:Z would be handy for situations where X.Y isn't definitive enough, and X.Y#Z wont work because there's more than 1 Z-type thing on a page. Using Javascipt to bind objects …

Member Avatar for MattEvans
0
111
Member Avatar for cath120

Hi Y'all Have a javascript menu, which doesnt appear on the browser when the block is on, so just empty space. Is it possible to have some alternative incase the user doesn't choose to disable their browser block? That is have both the javascript and alternative available if 1 blocked …

Member Avatar for MattEvans
0
98
Member Avatar for gbs

I have a HTML file that displays properly in Firefox, but Internet Explorer only shows a blank page. [url]http://www.cmbl.uga.edu/software/phxpa.html[/url] What could be the reason? :?:

Member Avatar for gbs
0
153
Member Avatar for cath120

Hi Y'all I would be grateful if anyone could help put together a similar page to: [url]http://www.possessedrecords.com/home.html[/url] please access gallery. Also is there a way of doing it in Flash perhaps, or even html? And what is the best code for a back button? Best regards Catherine

Member Avatar for tgreer
0
128
Member Avatar for saitaj

Hello, I want people to tickmark som items in a table and when they click on submit button the items they have tickmarked should be listed in an email to me. How do I do this in HTML and where exactly do I add the code. I know very little …

Member Avatar for tgreer
0
146
Member Avatar for Exelio

hi, I have a text element which needs to be rotated at 90 degrees. i put the text in a div layer and used the following code to rotate, oDiv.style.filter=[COLOR=#800000]'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'[/COLOR]; This code works fine in IE but i am not able to run it in other browsers. Can anyone suggest …

Member Avatar for tgreer
0
78
Member Avatar for aparnesh

How can I trim a string i.e. remove leading and trailing spaces ? I have a form validation which requires the user to specify a value, i.e. not leave the field blank. I want to ensure that the user cannot simply press the Spacebar a few times and leave the …

Member Avatar for aparnesh
0
88
Member Avatar for chakrapani

When we signout the form How can i disabling back button and, not only disabling back button but also delete history from browser. Suppose i used <script language="javascript" > javascript: window.history.forward(1); </script> to disable back button , its working. when i go to back list and click previous histories it …

Member Avatar for chakrapani
0
89
Member Avatar for MattEvans

I was playing around with XMLHTTPRequests recently, let me just start this by saying I prefer to never have a single JavaScript requirement... so my use of the request is merely... icing on a big webcake. anyway.. In offline testing I can create requests ONLY in IE... in online tests …

Member Avatar for MattEvans
0
124
Member Avatar for jcisml

Hi, i'm trying to make a menu that will follow me as I scroll down the window, somethins like this, (look on the right and on the left) please use IE to see, firefox doesn't display properly [URL]http://www.gmarket.co.kr/challenge/neo_category/html_small_category/small_category_300004054.asp?gdsc_cd=300004054&link_type=LIST[/URL] i have found some java script, however I want the menu move …

Member Avatar for digital-ether
0
109
Member Avatar for Acidburn

Hello guys, can anyone offer guidance on how to implementthe following: I have a JSP page that automatically refreshes every minute. However the page is fairly long and when the user moves the scrollbar down the page, and the minute is up the JSP page is refreshed and the user …

Member Avatar for digital-ether
0
230
Member Avatar for sgriffiths

Hello I have a web page which has a drop down menu. I want the user to select an option from the drop down menu, then click submit. This will then activate my php script and select data from my MYSQL database and populate the fields. How do i action …

Member Avatar for digital-ether
0
143
Member Avatar for narsto

[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <head> <title></title> <style type="text/css"> .nodisplay{ display: none; } </style> <script type="text/javascript"> <!-- var theElement; theElement = document.getElementById("test"); theElement.className="nodisplay"; --> </script> </head> <body> <div id="test"> CSS Rules in Action </div> </body> </html>] I want this text to disappear, but I get object theElement is …

Member Avatar for digital-ether
0
84
Member Avatar for Spycat

Hi all, I am having a problem with the contents of my page breaking thru the bottom border of my page. It looks fine in Explorer (that's a turn-about, eh?) but at 800 x 600 or lower, in Firefox it breaks. Anything I am overlooking? Thanks :confused: The URL: [URL="http://www.chocolatelover.net/"]http://www.chocolatelover.net/[/URL] …

Member Avatar for tgreer
0
228
Member Avatar for bazmanblue

hello im trying to get my div layer to align so that it centers on the browser so it doesnt matter about the size of somones browser it will always be centered on the page. i have tried [HTML]<div align="center" class="style1" id="Layer1">[/HTML] but this doesnt seem to work when i …

Member Avatar for bazmanblue
0
522
Member Avatar for Mushy-pea

Hello everyone. A few weeks ago I finished programming a javascript drop down menu system for my website. When I had ironed out the bugs it worked fine in IE 6. Later I got Opera 9 on my computer and the menus don't work in it. In fact, my pages …

Member Avatar for Rhyan
0
115
Member Avatar for aparnesh

I have a single form in my web page. The Form is defined as [Code] <FORM action="somepage.asp" method="post" id="Form1" > <INPUT TYPE="Text" Name="txt1" id="txt1" size=5 > </FORM> [/Code] In a javascript function, when I am writing document.Form1.txt1.value = 5 ; I am getting an error "document.Form1.txt1 is invalid or null". …

Member Avatar for aparnesh
0
81
Member Avatar for rachaelmom

Hi, I am using a CSS hover menu (with a IE fix) to navigate a website. It is working fine in all browsers except for Opera for Windows (and possibley old version of NN). What happens is the menu opens up and works fine unless there is other html that …

Member Avatar for BudBrocken
0
128

The End.