14,053 Topics

Member Avatar for
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
104
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
204
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
143
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
115
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
106
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
145
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
108
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
127
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
144
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
113
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
99
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
227
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
142
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
521
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
112
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
Member Avatar for rachaelmom

Hi, I have a PHP/Javascript page and I need to POST code to the same page in which it is posting from. It posts correctly and PHP picks up the information but the javascript code that deals with certain objects won't run again. I actually have to POST to the …

Member Avatar for rachaelmom
0
59
Member Avatar for Crumbs

Hello, I'd like to do something in my site's FAQ section. I'd like people to see the questions, and when clicking them, the answers will appear beneath them. This is done on many sites (I don't have a specific example), but I don't know where to look for such a …

Member Avatar for tgreer
0
63
Member Avatar for Peggy

I need someone to point me in the right direction or just hit me over the head and tell me what I need to do. I feel comfortable doing the html coding - javascript is not my friend as of yet -- but I am working on that. The other …

0
61
Member Avatar for big dummy

All of a sudden my internet explorer 6 will not display any css attributes. Neither on the web nor locally. Any info on this would be greatly appriciated.

Member Avatar for big dummy
0
137
Member Avatar for NuGG

I want to print a html file by clicking on a hyperlink/button in a small popup window. I already have the popup that is not the problem, i was just wondering if this script can be modified to print the main window from the popup. [CODE]<!-- Begin function printWindow() { …

0
89

The End.