20,316 Topics
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 …
I am working on a website right now and have come to a halt. I need my clients to be able to click on a piece of text like [html]<a onClick="funciton to change text">Webby Stuffy</a>[/html] and i need it to change the text within a table to something else. I …
i am using the combobox on panel and it got fill when panel loads ,it has 7 enteries and i want whenevr the panel opens or the combo fills i'll see "money "as my default selected value out of those 7(whose position is not fixed).plz help me to do this(urgent)
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 …
I'm putting this here because I don't really know where would be best, if I could pick a language-categorised solution I probably wouldn't be asking atall...I don't need a solution so much as a pointer. How do you get a file from a user's computer to a server, from a …
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 …
Hello, will you help me write some code to generate random-colored ellipses for an html page? The ellipses will serve as a side-bar coloration for the regular text content. Each successive image will have an increasing z-index and will overlap each other. I am having trouble figuring this out as …
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 …
this code will not load on my localhost, but gives no errors. Will you load this and see if it will work: [code] <style type="text/css"> <?php $count = 1; function divs() { $int = rand(6, 30); while ($int <= 31) { $t = rand(1, 99); $l = rand(1, 99); $w …
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
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 …
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 …
[<!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 …
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] …
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 …
Is it possible to redirect to a different frame ? I tried using [code] Response.Redirect "somepage.htm; target=MainFrame" [/code] but it didn't work
[COLOR="DarkRed"][B]OBJECTIVE[/B][/COLOR] • Seeking a position of software developer working with Java/J2EE, Hibernate, Velocity, XML, … , telecommute • Able to work under stress, with tight deadlines [COLOR="darkred"][B]EXPERIENCE[/B][/COLOR] • 5+ year of experience as software developer at MaxIQ Computer • 3 year of experience as web developer at MaxIQ Computer and …
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 …
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". …
[B]Wishing you all a Happy new Year wishes.[/B] Hi good morning. I thought of sharing with you a requirement that i am not clear and thought as an expert you might be able to help me out with pointers and logic.Well, I would try to be brief:- I have a …
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 …
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 …
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 …
Hi Anybody can resolve my request for printing the webpage using javascript without asking for print dialog box properties , directly using the default printer setup in our local machine. Please revert back if any concerns. Regards, rathna
Hi I need a function with jscript cod that the function can search a word .
I'm trying to hide and show divs using object.style.display = hidden and block. Apparently "block" works in IE? It doesn't work for me though...
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 …
hi guys, I need to create an image with a plain background and a color.and in that ,i need to bind a text and an logo. The text and the logo(a jpg file) are dynamic. How can i do this in javascript? Hope I am clear with the question..... Plz …
I have a customer that I am designing a website for. Part of his business is he films commercials. What he wants is to be able upload a compressed version of a customers commercial to his website for them to view. However, he doesn't want the world to be able …
Hi Have been battling for hours with a simple function asking a window that was opened with window.open() to be closed. Works fine in Firefox but IE just keeps creating an error "Permission Denied". I doubted my code as a consequence, but have used sample code to check this and …
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() { …
Hi All, I wonder if any Javascript experts can help me. I have the following code on my site which create a rotating graphic in the header every time the page loads. This works great. However what I want to do is to change the way it works slightly so …
i have a form that has several checkboxes. I want a label to display the total amount of all the checkboxes clicked. for example: cbo1 = 100 cbo 2 = 75 if the user clicks both then the label will display 175 also, if the user unclick a box it …
I want a ".doc" file to be printed when you click on a hyperlink, however so far all i have been able to print is the page on which the link is situated, and not the doc file. Im using this script: [CODE] <!-- Begin function printWindow() { bV = …
Hai friends I have listed the combo box va;ues useing ajax function foe example when user select the region related country displaying the next combo box , Its working for fier fox breowser but iits not working in IE I am getting the java script error. (Object required) Please help …
Hi everyone, I've been trying to pass a parameter to my popup window but I still can't do it. I think that I am close because a browser window opens but it's a "Page cannot be found" page. Can you tell me what I'm doing wrong? Do I need the …
Ok, ive created a login script and i have saved it as login.js. See below: <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function Login(){ var done=0; var username=document.login.username.value; username=username.toLowerCase(); var password=document.login.password.value; password=password.toLowerCase(); if (username=="someone" && password=="something") { window.location="page.htm"; done=1; } if (done==0) { alert("Invalid login! (try lower case)"); } } // End --> …
Hi everyone could anyone find or know the code for the above? I've looked but can only find it for add to fav's. Any help would be great.
The End.