15,127 Topics
| |
Hi. I understand that ASP is server side and JS is, at least in my case, run on the client. So, an ASP process will be run before a JS process. I want to make them work together if possible. Here is my problem: I have an ASP process that … | |
Hi, I'm a newbie on javascript, and am experimenting with this simple script below. I was wondering how could I halt/quite/close the script/program after pressing the X or CANCEL button? I try to press X and CANCEL button, but it won't quit and this script results in infinite loop [CODE]<html><head><title>Phone … | |
Hello people, I have just started to learn JS, and have a question. I want make my script to load (for preview) an image file chosen by user through HTML form. My code is following: [html] <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <title>Upload form</title> <script … | |
Ok, basically I have this giant, great, big, long variable and I still haven't learn the syntax for this sort of thing. How would I break this up? Basically, the variable is information that is being displayed in a tooltip that hovers after a mouseover. [code]var msgBrackenRidge = '<b>Eco-Friendly Residence</b><br><br>51 … | |
Hello All, I have a javascript image preloading script I'm writing, and it basically creates an array called "array_name" which contains the image filenames, and then uses a for loop to assign "array_name"'s elements to another array called "preload". I know my syntax is good, but the firefox javascript inspector … | |
Hi, I am having a hell of a time trying to figure out a javascript error I keep receiving on my vBulletin Forums. The error is not very specific (to me at least) Check out the screen shot for the whole error. I have been poking around all the templates … | |
I have been requested to create a file which will act like an XML page (expandable tree-like structure). I have been given the following requirements: 1. End user requires that the page be an xml file. No problem there, I know enough (barely) to do that. 2. Request that, if … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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"? … | |
[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: … | |
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 … | |
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 … | |
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? :?: | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.