web hosting and development forums
Web Design and Development Forums Archive


Index -

JavaScript forum


newer topics <<< >>> older topics

Pages   2  1  0 
how to make the submit button a custom image
I have a little icon that a user can click on to do something right now. I want to change it from a link to a form, but keep the look. Is there a way to make the submit button a custom image? Or d ...
using JS to find frames or windows
Can i use javascript to find frames/windows the same way the "<a target=></a>" does it ? its not exactly what i need i dont know where the "target" is. it could be in ...
manually analizing all parent tags without loop
Hello everyone! i need a little suggestion. I have a task to build so called "path" for the current cursor selection. is the only way - by making a loop over all tags using parentElement pr ...
IE wont assign events to dynamically created elements
I've noticed that IE won't assign events to dynamically created elements... i.e. element = document.createElement('input'); element.setAttribute('type','button'); element.setAttribute('value','Click ...
gitting a collection to all DIV elms working in all browsers
Is there a way of getting a collection to all DIV elements on a website that works in all (most) browsers? ...
how do i follow the link from js
G'day. From Javascript, how do I follow a link? Say I can grab the link using document.getElementById() how do I click on it? ...
problem with IE and DOM
Hi, I have a problem with IE and dom I want to add a row to a table I am looking for some javascript html parser ...
how to loop through all nods
How can I loop through all nods of some element? ...
testing a variable
How can I test to see if a variable has a pattern or a substring in it ? ...
how to change the name attribute of a p
If i have a external JS file, and i need to change the name attribute of a <.p> , can u just getElementById from the document... and then do element.name = "" to change its name ? ...
using thickbox in a dynamically puled page
Has anyone here ever used thickbox in a dynamically-pulled page? ...
good docs on getElementByTagName
Anyone have good documents on getElementByTagName? ...
interaction of functions from different files
Can a function in a.js use a function in b.js if they're both loaded into an html file with <script src="{a,b}.js"></script> ? ...
documentCreateElement function
Hello everyone, can anyone tell me how do i create forms with the document.createElement function?? ...
opening the window using an obj from the calling obj
What is a good way to open a window and have that window use an object from the calling object? I did try adding the object to the document of the open window ( a = window.open(); a.document.my_obj = ...
how to save formatting
Hello, I've inherited some code that uses the DOM extensively. However, all formatting is lost - how can I attempt to preserve formatting? (How do I get and set arbituary formatting on a node?) Ie, h ...
Opera for sending text to the clipbrd via JS
Does anyone know if you can get Opera to send text to the clipboard via javascript? I tried execCommand("copy") but that does not seem to do the trick ...
using onkeypress event call a function
Hi, i am using onkeypress event to call a function I have an alert to display the keyCode Of the key pressed But on pressing "tab " in IE it doesnt alert Nor does it give any error any advi ...
disabling keyboard input
How can i disable keyboard input/navigation in a web page with javascript? ...
showing a listing of files without editinh server config
Is there any way to show a listing of files in the directory of the webserver without editing the config of the server, like a script? ...
palmOS browser problem
Is there anyone here that can answer very simple js degrade questions without a freaking holy war response? ...
validating a html element
Hello, how can i validate a html element called foo[ ]??, i need this name to create an array in php ...
visibility script for multiple items
I'm struggling with adapting this div visibility script to multiple items. as you can see here, it works for one dropdown using an if else, but not with another dropdown: http://www.casadev.com/divi ...
flicker problem
Anyone know how to get rid of the flicker during the animation of moving an image across the page? ...
Help with some basic code
Hi I'm new to both the forum and JavaScript and wondered if anyone could help me with some code I'm working on. The code involves two variables into which the user enters numbers (via window. ...
JavaScript Resources
This thread is for good JavaScript resources. So if you have some good ones then post them in this thread. Cheers! ...
New problem
Hi guys, I'm imnpressed how quickly you responded to my first post:) I have another problem though. I have an if... else statement which works fine and tests the range of two ages entered and ...
Array problem
Hi guys
I need help on another problem now, this time with arrays.
I've created this array:
Code:
var numberOfQuestions
var examScores
numberOfQuestions=pars ...
Advice
Can anyone recommend a good interactive CD program that teaches the basics of JavaScript. I did get one program off EBay that's very good but it skirts over a lot of important stuff and doesn't allow ...
Tables generator
Does anyone know a nice table-code-generator to save me time writing the HTML with all the border sizes colours etc. Preferably a free one ! ...
Benbacardi's code logic
I'm interested in the logic behind a section of code Benbacardi posted in answer to one of my questions some weeks ago. I wonder if anyone would care to explain it so i can understand what's going on ...
Time
how do you use javascript that does something after a certain time? for example a clock that changes every second, how does that work in javascript? also, how can u make things move like your pop ...
Drop Down menus - help needed pls
Hello all, I need to do a drop down menu as follows: Home Wedding Stationery Gifts to drop down to For the big day Personalised Gifts For the boys For the Girls Keepsakes Cont ...
on click button
I have a database called classrooms.mdb I have a form used by admin to input data to this database(adminForm.asp) I have another form used by the user to input data to the same database(userF ...
mailto javascript
what i want to do is.. In my page, i have 6 textbox field: name, id, email, age and bookingStatus, bookingMessage. when i click a button in the page, the ms outlook will opened, and all t ...
javascript button color
Question 1. I have a standard submit button... <input type="submit" value="Send me your name!"> can i change the color of the button aor the font of the button? or maybe a rollove ...
Form names
have validation script that loops through all the forms in a document. (some of you have probably seen it at work).
well, I'm working on the new version and i have a small problem.
when ...
DHTML Menu
Plz tel me how to make DHTML Menu? ...
horizontal drop-down menu
I'm looking for an online generator, because yes, I'm lazy. I've found all kinds that you can download and edit, but I'm just too lazy for all that really.... I have patience for ASP, not javascr ...
Multiple Drop Down Validation
The code below is a working code to validate an empty selection in the drop down list. What changes I must do in the Form OnSubmit if I want to validate more that one dropdown list in my form. ...
Field Validation HELP!
I am designing a room reservation in my college... The rule of the booking is, it only allows booking at most one week ahead. For example, let say today is 09/11/2004, You can only book for a ...
range object
I'm trying to develop a script that will select elements within an html page, kind of like a select-all script, but I want it to be "select-some"
The code I have so far is below, however, loop ...
Slideshow script problems
Okay, don't throw rotten tomatoes, but I got this script for free on the web (for an image slideshow) which I use for family photos online. Well, the problem I'm having is that something in the scrip ...
problem with Image Object's onLoad function
Hello, This is my first post on this forum. Any help would be much appreciated. Here is my problem: I have a web page http://www.freewaymedical.co.uk/productsindex.php, which is basically 5 s ...
drop down menu Help needed
i have to develop a drop down menus and in that i'm facing a problem... i'm not able to insert the menu in the table row.i,e table cell. After inserting its not fit to the table width and height. ...
Disable ALL form buttons
Hi all, First post here for me, I am a web developper and have been working with Java/Servlets/Jsp for about 5 years. I always tried to manage important behaviors on the server side to make s ...
How to make pop-up window fit client's screen
How do you open a new pop-up window whose width is determined by the client's screen? Currently I open a fixed width window for a 600x800 screen from a link using :- <a href="" onClick="wi ...
Login Code
have a website I am building for school. It is done in Frontpage.. ya go ahead and laugh but I had no choice. I would like to add a login for members of the site and I found a code in javascript that ...
ok now I need some help!!
If anyone can help me on this one you'll be my savior. I have a menu builder. I want to add my menu to my site (done in frontpage--html). It works in every page, with or without tables except one pag ...
OnMouseOver
hey, I want to be able to change text to an image when the user puts thier mouse over it, is this possible without using another image instead of text?? Anyone know how? ...



Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com