Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested JavaScript Solutions: 101 - 125 of 9955
 
I want to be able to retrun a form's fully qualified element name.  I can do this fine when using the name attribute for the form but can't when I use the id attribute.  The offending code is ...
Are there anyway to disable a DIV ( or something look like this ) to prevent user from doing anything on in with Javascript ?
Hi all.... I need a script that will, onKeyUp, remove/prevent carriage returns 'chr(13)', line feeds 'chr(10), and multiple spaces in a text area. When a user is typing into the text area a...
This simple script scrolls the page to the top of the screen.  Whenever I drag the page down to the bottom it continues to scroll.  I need this script to just scroll up upon clicking the stop....
Here's the deal. It may sound a bit complicated, but I hope you'll get this: I have a div-tag (a) filled with text (my content). I have a div-tag (b) containing a menu. I want to change...
Hi all, I think this should be simple. I just can't get getElementById to work for radio buttons - no error is given if I do getElementById("radiogroupname"), but then I don't know how t...
I was wondering if it was possible to loop through each item of an object in javascript. I have tried something similar to ----------------------------------------------------------------...
I wrote some pages in asp for a client.  Their partner is going to link to a page on this site (that also links to one other page).  We need to hide the URL so it is not apparent to a web user...
I'm not very much up on javascript functionality and I need an answer ASAP so it's a quick 500 points to anyone who can answer the following question. What javascript function can I use to ...
Hi, I'm trying to append a body to a document: document.appendChild(document.createElement("body")); I'm using IE6 ON XP.  This code works, but then I get an "Operation Aborted" error.
I only care about IE7 (a proprietary / embedded web app). I know how to use javascript to change the border of a DIV on rollover, but the problem is that the border appears around the outside ...
How do I detect  scroll down  or  scroll right  exist on an IE browser page with javascript? And how do I detect  the current page has no scroll down  or  scroll right?
This is what I want: When the user selects a value from a select-box I want the value to be copied to the clipboard. Is this possible using ActiveX or Javascript or something? I think that...
Hi, I want to clear my browser's history. (prevent back after logout). I'm using the line: <A HREF="javascript:location.replace('nextpage.html')">Advance</A> It works great on netscape,...
I have a select tag which populates all the countries. What I need is that when United states is selected it executes a javascript which basically populates the states drop down. I tried pu...
Hello all, I am using the fopen() method in JavaScript to open a file. This works fine except if the file name contains a comma. It works for all other special characters I have tested. ...
I have an iFrame which when called passed a replaces a <span> on the parent page with the <span> on the iFrame. this is the javascript I had and which works great with IE, this passes the <...
Hi all, I like to have a javascript which creates  a bookmark entry The script has to support all browsers (IE, firefox, safari, chrome, opera) I saw some of the script in EE. but i n...
Hello all, what can I do to disable a link after a user click on it? I did this but it did not work. <A HREF="missionDelete.asp?id=<%=id%>" onClick="javascript:this.disabled=true;">De...
How to show vertical text in IE and firefox using java script. I used the below script and it works fine in IE but in firefox it is not working (in firefox it is showing the text horizontally)...
Hi all. Does anybody know a way to disable ALT-F4 key that really works without making any change to the current document or opening a new window, my code works and it disable the key but I h...
i have many buttons in html with id values. i am using jquery js file where i need to pass values from html. how do i declare variables in jquery and pass the values button id="s1", "s...
I want upload a file from web with the browse. But before that, I could like to check for the file size. If the file size greater than then allowed limit, then alert will prompt to user. So...
There doesn't seem to be a .childNode function built into javascript.  So, what is the easiest way to access child elements?  If I have a <div>, and I want to access a child <img>, is there a ...
Hi All,   currently I'm using this command" <div OnClick="window.open('/process/enterprise/training/change_index.shtml')">blah blah</div> It works form me but, it opens a new window. ...