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 <...
document.execCommand('SaveAs',false,'Report Name.xls')
In IE7, when i click the Save button in my app, nothing happens - no dialog box pops up like it does in IE6.
Could someone pls let m...
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...
Hi there
I am new to javascript and am have a bit of trouble
with this script I am trying to write
basicly I have a div with a image holder in it
when I call the drawDiv fuction the d...
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 know this question has been answered, but I can't view the solution since I terminated my subscription to premium services.
I searched in the JavaScript Area for "minimize remove" - the s...
My question is this;
How can I remove an Element (COMPLETELY, not just set innerHTML to nothing.) using DOM.
The code looks sorta like this:
<div id='div_container'>
<table id='table...
My current page launches a small popup where information can be edited via a few text inputs. After the info is updated, the window reloads and shows a message along with a "close window" link...
I have a text input field (called "buyAmount") in a form. When the Submit button is clicked, I want to set the field to readonly, so that the user will not be able to change anything. This is ...
Having some troubles getting my parent window to refresh. Any suggestions?
User visits page, clicks on link
<a class="hidden" href="#" onclick="javascript:window.open('https://www.example...
I have this javascript:
if (window.XMLHttpRequest) {
newLogoAsk = new XMLHttpRequest();
}
function getNewLogo() {
if (window.XMLHttpRequest) {
// branch for IE/Windows ActiveX versi...
I can access the numeric position of the last character in a string by using
string.length, but how do I access the actual value of that last character? I can't seem to figure it out?
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 a form like this
<form>
<input type="hidden" name="hiddenField" value="">
<input type="text" name="field[0]" value="a">
<input type="text" name="field[1]" value="b">
<input type=...
I know it's possible to invoke the print dialog on IE 6 and Moz 6 with window.print(). Is it possible to invoke the "print preview" feature? I tried window.printPreview(), but it didn't work...
I want the user to be able to:
a) click a Load File Button on a web form next to a field.
b) Browse to a text file
c) Load the content of the text file into a form field
These are very...
I am not able to cause a submit button click in FireFox. I have a form that opens and closes allowing the user to edit fields. When they click the close I want to show a overlay saying "Would ...
Hi all!
I do have a list of checkboxes and what I need to do is when a checkbox is selected (checked) a drop down list will be generated and placed next to it so the user can choose from!
My...
How to compare 2 date using javascript?
I have 1 text box to let user key in the date of birth (dd/mm/yyyy format). Now I need the user's age (round down) base on the birth of date, how to do...
The following code will add and remove table rows.
However it is only working in Iexplorer.
How to make it work in Netscape/ Mozilla also (Would be nice if it should work in Opera also)?
...
what I am trying to accomplish is to gather the input from this form and display that input on another html page using javascript. I don't want use asp.
this is part of my form
<html>
...
I'm trying to help a co-working who is using Java, Javascript, and .XSL , along with ApplinX to present legacy mainframe screens in a web browser.
He developed a very nice report (a heade...
I have some client side javascript (IE6 .Net 2.0 VS2005) that is extracting a couple of values from a data grid using a client side on click event - the two values represent the text and id of...
At the bottom of my html page, I added the following:
<script language="JavaScript">
window.print();
window.close();
</script>
I get my print dialog, but after I close the print dia...
The code below is an ASP and AJAX it works fine with this code in Javascript "(xmlHttp.open("GET",url,true)"
but when I change it to "xmlHttp.open("POST",url,true)", I get a blank page when...