Javascript/Questions

SubjectDate AskedExpert
How to write a javascript to tell whether a form field is hidden or not ?2/21/2005Randy L. Taylor
  Q: How to write a javascript to tell whether a form field is hidden or not ? Thanks, lzzzz
  A: That depends on what exactly you mean by "hidden". If you mean type "hidden", then you can ...
Do you have a javascript for populating a dropdownlist according to the selection of another dropdown list?2/21/2005Randy L. Taylor
  Q: Do you have a javascript for populating a dropdownlist according to the selection of another ...
  A: Here is an example HTML page I wrote that does just that (pasted at the end of this message). It ...
Do you have a javascript for populating a dropdownlist according to the selection of another dropdown list?2/21/2005Rick Johnson
  Q: Do you have a javascript for populating a dropdownlist according to the selection of another ...
  A: Izzzz, No I do not have a script written that will generate a dropdown list from another list. ...
window.menubar.visible=false not working in netscape2/21/2005Rick Johnson
  Q: i m using netscape 7.2 and i m trying to do window.menubar.visible=false on body onload event it is ...
  A: Shyamal, I do not have a solution for your problem. I do not use Netscape for anything except ...
Override background property in CSS2/19/2005Randy L. Taylor
  Q: I know its too late to ask for a follow up question and you might need some time to get the idea ...
  A: Doke, Unfortunately, due to the order in which parsing is done by the browser, that way will not ...
Java Sciprt Errors2/19/2005Rick Johnson
  Q: I am getting Java script error on Interent Explorer page with IE6.0 on windows xp system. I have ...
  A: Saleem, I am unsure exactly what you are asking. It is possible to get JavaScript errors from ...
Javascript Loop2/19/2005Randy L. Taylor
  Q: I am doing a small javascript module in my web design course. I have been given an exercise about js ...
  A: Normally, I do not answer homework questions (I feel I would be doing you a disservice). However, ...
forms[1] or forms(0) ?2/18/2005Rick Johnson
  Q: When we refer to the elements of an array in Javascript, do we use [] or ()? for example, forms[1] ...
  A: Izzzz, Array reference should always use [index]. While (index) can work in some cases, it is ...
smart cars programming how to2/18/2005Rick Johnson
  Q: I want to do smart cards programming (applications development) in java . Kindly will anybody assist ...
  A: Krishnakant, I am not a Java expert. I am a JavaScript expert and that is quite a different thing. ...
javascript2/17/2005Randy L. Taylor
  Q: I replaced the missing bracket but still not working. I think the problem is with the function ...
  A: That is very strange indeed, because when I fix the closing script tag, it works fine for me and I ...
Javascript embedded in Perl-CGI2/16/2005Randy L. Taylor
  Q: Randy, Thanks for your response. Here is the full story. In Perl/CGI scripting, there are only two ...
  A: Have you tried just doing this?: print "<input type='button' name='Update' value='Update' ...
Javascript embedded in Perl-CGI2/16/2005Randy L. Taylor
  Q: I am so bugged that I will dedicate my program to you if you can provide a solution to this. Please ...
  A: After printing the script tag, you then print an HTML input tag. I'm not sure what you are trying ...
Javascript2/16/2005Rick Johnson
  Q: Many thanks.But please clarify one phrase: "client of a page", can you give an example? Hello Rick, ...
  A: Thom Liner, I generally speak of clients not users. So when I say you are a client you are some ...
javascript2/15/2005Randy L. Taylor
  Q: Taylor, I am trying to test out some basic ideas in Javasscript but I am having difficulty with the ...
  A: There is just one tiny little thing wrong with what you sent me. You're missing a single character ...
Two questions2/15/2005Randy L. Taylor
  Q: 1. Should we declare function parameters using var? for example, we use "function total(var a, var ...
  A: 1) No, you should not ceclare function parameters using var. Simply use this syntax: function ...
javascript debugger2/15/2005Rick Johnson
  Q: Is there anyway I can see my variable's values as the program is running, like there is with Visual ...
  A: Mark Turnham, The following is a google search: ...
Problem embedding javascript in CGI2/15/2005Rick Johnson
  Q: Please what's wrong with the below piece of code that is a javascript embedded within my CGI script? ...
  A: Sekhar Kanuri, I have actually written several Perl scripts that had JavaScript embedded in them. ...
set window as always on top not working on IE2/15/2005Rick Johnson
  Q: I am using IE 6.0.26 and netscape 7.2 and i am creating a window using ...
  A: Neelesh, A window that is always on top is known as a modal window. Creating modal windows is not ...
Links in Javascript2/13/2005Randy L. Taylor
  Q: I've got a question. I'm working on sites for some friends. But I would like to put a link to my own ...
  A: As with most things in HTML, there are several different ways to accomplish what you want. I wrote ...
Javascript2/13/2005Rick Johnson
  Q: I was reading a book on Javascript and came across a very strange statement which I hope you can ...
  A: Thom Liner, FORMS allow the client of a page to provide information. The problem with forms is ...
Get Focus on form elements2/11/2005Randy L. Taylor
  Q: I have javascript function that check valid input data in text box (named abc) on submitting form ...
  A: As you have it currently designed, the best place to set the focus would be right after the alert. ...
Javascript2/10/2005Rick Johnson
  Q: Call_alert() worked. But one moreTexts also use window.alert() which didn't work.Do you have any ...
  A: Linda Gold, Dot notation is a bit ambiguous from time to time. Let us assume that we have opened a ...
getElementbyId2/10/2005Rick Johnson
  Q: I am using document.getElementbyId(ABC).value it works fine in IE but not in opera :-( Is there is ...
  A: Abdil Qadir, As far as I know Opera does not have the getElementById. These are really calls to ...
javascript2/10/2005Randy L. Taylor
  Q: Do you know where I can find a list of properties for objects in DOM (Dominant Object Model). DOM is ...
  A: Usually, DOM refers to the Document Object Model - I'm not sure if the "Dominant" that you typed was ...
Javascript2/10/2005Rick Johnson
  Q: Do you know what is wrong with this code. I am learning javascript on my own and this stuff comes ...
  A: Linda Gold, There is nothing wrong with your code except it does not call the function. The ...
Combine rollover + other script2/10/2005Rick Johnson
  Q: I've got a rollover script that goes like this: <A ...
  A: Carmen, Yes you can combine functions to produce the effect that you desire. See the attached ...
Client-Side Progress Window2/9/2005Rick Johnson
  Q: Are our users more-or-less stupid than average users? We've been told our web application must give ...
  A: Flash Merlot, There is not a problem accomplishing moment A. I too would simply issue an alert. ...
Add Date2/8/2005Randy L. Taylor
  Q: I have two questions. 1st : How can add (day, week, month, year ) to date object in javascript. ...
  A: The problem you describe is very strange. I wrote a sample HTML page that I tested myself and I ...
Add Date2/8/2005Randy L. Taylor
  Q: I have two questions. 1st : How can add (day, week, month, year ) to date object in javascript. ...
  A: In order to add a day to a date object in javascript, you have to use both the setDate() and ...
passing style class to Functions2/7/2005Randy L. Taylor
  Q: I trying to get a calender to print dates with the background color that depends on some criteria. I ...
  A: You have to handle your colour variable much like you do your dayno variable. :) In other words, ...
audio player2/7/2005Rick Johnson
  Q: I have an embeded audio playlist player in my website, but want it to continue to play even when I ...
  A: BillC, From your question I wonder if you are trying to be annoying. Consider if a client to you ...
A script2/4/2005Randy L. Taylor
  Q: i have a question, i may have talked to you originally? im not sure its been about two months i ...
  A: Sorry for the long delay in answering your question. I have unexpectedly been without access to my ...
ip range validation1/31/2005Rick Johnson
  Q: how we get textbox value char by char so that check textbox value for validating ip range
  A: Millika, I anm sorry. I thought i sent you this answer already. ======================= HTML ...
ip range validation1/31/2005Randy L. Taylor
  Q: how we get textbox value char by char so that check textbox value for validating ip range
  A: I wrote a sample HTML page using a function I found on the internet that uses regular expressions ...
Override background property in CSS1/29/2005Randy L. Taylor
  Q: I have another doubt which to me appears as a mix of JavaScript & CSS. Here are the details: 1) I ...
  A: Doke, The background attribute is deprecated, and the BODY CSS will override what you put in there. ...
Using Javascript to Solve Screen Resolution Problem w/Images1/28/2005Rick Johnson
  Q: I am not the most experienced at Javascript and I believe this problem could be easily resolved by ...
  A: Dennis Macklin, I have no problem seeing your page on my nVIDIA GeForce4 MX 4000 running at 1024 by ...
Using Javascript to Solve Screen Resolution Problem w/Images1/28/2005Randy L. Taylor
  Q: I am not the most experienced at Javascript and I believe this problem could be easily resolved by ...
  A: When I use my text editor's beautify source on your code, it turns it all into one big line and I ...
Javascript problem1/27/2005Randy L. Taylor
  Q: I am working on a web page that uses frames. The page that I am working on will be split into only ...
  A: I think the change is very simple as you suspsect. So, try this change I'm about to suggest and if ...
Page has Expired on using javascript history.back();1/27/2005Rick Johnson
  Q: In comobo(drop down list) onchange event I am loading the same page and filling the combo box with ...
  A: Shyamal, The problem is that there is no variable to which you can assign a value. All variables ...
Java Script1/27/2005Rick Johnson
  Q: i want to have a question about the what are the java script coding. the q is, my web page have a IC ...
  A: Loo, You might want to look over the following URL. I can tell that English is not your first ...

Page:  Previous  |  12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21  |  Next      All

Javascript

All Answers


Answers by Expert:


Ask Experts

Volunteer


Randy L. Taylor

Top Expert on this page

Expertise

I can answer advanced questions concerning most aspects of web programming including HTML, DHTML, DOM, JavaScript, Cookies, Internet Explorer, and CSSs. I can answer basic questions concerning XML and ActiveX. I can also answer questions concerning Regular Expressions, logical design algorithms, and Object Oriented Programming.

Experience


Past/Present clients
Upp Business Systems, LLC
Headquarters Standard Systems Group, USAF

©2012 About.com, a part of The New York Times Company. All rights reserved.