I have read through several examples on how to send a value to a new popup window, but everytime i try i either get 2 popup windows, or an error Element has no properties.
What i'd like to ...
Ok... this is a little tricky!
I need a code that would allow user to input a value and as he/she types the number it should automatically insert commas and decimal points
for examlpe:
...
I have a dynamically generated table/contents that i want to give the user the ability to sort on multiple columns, columns will not always be beside each other
Rep Name (multiple occurrenn...
I know that there is onerror, onresize, onreset,onload,onunload,blah blah, but How Would I go about doing a Onrefresh,Onreload??
This example works :
<HTML>
<HEAD>
<SCRIPT LANGUAGE=javascript>
function atLeastOne(){
var objForm = document.forms[0];
for(i=0;i<4;i++){
if(objForm.elements["frm_chk_delete["...
I use a modal dialog in Javascript to create a "pop up dialog" that gets some data from the end user, using the following code:
function PopUp(url)
{
if (window.showModalDialog) ...
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 am using WLAN & ELAN in my pc i want to get only ELAN MAC address by using vb script or java script
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.
If a user clicks a link I want to display an Msgbox, depending of the users selection (yes, no or cancel), I want do redirect them to different locations. Is this possible with JavaScript? If ...
Hi,
I have this really annoying error. I have this page created in ASP and it uses Javascript a lot too. The problem is few times when i open that page i get a error dialog box with error me...
The question title really explains it, what is the difference between outerHTML and innerHTML? Some examples would be nice as well :)
Is it possible to use DHTML innerHTML to put text into an iframe? Or some other method to put text into an iframe without using the src for a file on disk?
Does anybody have javascript functions handy that will take in a string and return the HTML encoded version of the string, and/or the other way around?
I am writing a translation module, an...
How do I access the parent page for an IFrame?
Basically Im trying to do:
document.parent.form1.person_name.value = "john" from a link thats in an iframe
should it be something else?
I can't seem to figure out what i'm doing wrong here.
Here is my javascript
<script type="text/javascript">
var progressWindow = null;
////
function submitForm() {
var numOfFiles = doc...
I have a dynamic site, where post data is often used. Some of the site is available to those who are not logged in. I do have a login button that opens up a login dialog window. After they ...
Is there a function similiar to the SendKey function in VB. I want to send the [ENTER] key into the buffer so the user doesn't have to deal with some window dialog boxes.
there's a java class that does UTF-8 encoding, but I need it to work in javascript. can anyone convert the following so that it will work in a javascript function? i tried for about an hour, 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....
F=Greetings all
I am trying to manipulate the JavaScript PostBack, in order to set a field value. My problem lies in the __doPostback call, in the JavaScript, as when I remove that line, th...
dear JavaScript master,
Below is part of my code
<div id="mydiv">
<span id=result> </span>
<input type="submit" onclick="???" value="Test"/>
</div>
What is ???, such that when i clic...
I have a nested iFrame in a page. This iFrame calls another website, where I have content acting as a 'remote' for the site the iFrame is nested in.
---------------------------
| iframe |...
Hi!
I to generate a URL link from an HTML page that links to itself. How in javascript is it possible to resolve the name of the page currently loaded? document.URL gives me the whole URL, ...
I have a javascript in my html page:
<script type="text/javascript">
function confirm_exit()
{
if (confirm("Do you want to save changes?")==true)
return true;
else
return false;
}...