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...
Hi
We want to open url in new tab (IE7) using javascript. It works by modifying IE7.Tools.InternetOptions.TabSettings.Always Open Pop Ups in New Tab. However without this, it does not work.
...
Hello experts, I have a javascript function that fires when a user enters a key into a textfield. I want to be able to execute some script when either enter or tab is pressed and it doesnt wo...
I'm looking for a universal solution (or at least one support by Internet Explorer and Netscape) that will allow me to script the printing of a PDF document. Currently we have a page that all...
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=...
Hi
Whats the easiest way to enlarge an image on a page when a user's mouse moves over it. Ideally I would like the enlarged image to hover over the existing page as opposed to being displa...
Hi,
I have a page that when the users selects a row from a grid, and clicks the 'Edit Review Record', opens the window that loads data, everything works fine for the first time the win.show...
Here is the code....
$("#msg").addClass("msg msgerror");
$("#msg").append(data.error).show("slow");
As you see above, I am adding a class to a DIV (<div id="msg") and appending co...
I am using the following HTML to upload a file
<form name="upload" action="catalogphoto.php" method="POST" enctype="multipart/form-data">
<table>
<tr><td><span>Select photo to upload:</sp...
Can someone provide me with a quick sample of how to remove attributes within an element's style tag?
For instance,
style="border-width:0px;"
I tried document.getElementById(id).style...
I want to create a javascript function that will add/subtract 1 day from a date string stored in a hidden field. The format is 0000-00-00 (YYYY-MM-DD)
So far I have....
function dateN...
I have a page where I am using onClick event. I want it to go to a web page (like "http://www.experts-exchange.com"). How can I do this???
Thanks
- Marc
How to list the contents of a directory in javascript and delete files older than x days...
The code below is vbs but I need javascript.
Thanks
Function PruneFiles (FolderPath)
on er...
I need to make an option in a SELECT Box selected with an onlick event from an image. I know the value of the select box option but not it's position in the list. I have been playing around wi...
<style type="text/css">
input {
readonly:true;
}
</style>
how to put readonly in css?
Hello,
I've discovered that it seems impossible to detect the true width and height of a browser window in IE 6 (6.0.2600.0000IC to be ridiculously exact) with an XHTML document. The code ...
I am trying to send the innerhtml of an iframe through this ajax call
$.ajax({type: "GET", url: "pricecalc.aspx", data: "ratetype=4&ratedays=1&ratevalue=1&rateimage=0&ratebold=0&rte=" + $("...
I have a file upload bar for people to upload image. I am looking for a script that can pop up a window warning user that the file selected has file over the maximum file size limit. This scri...
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...
Hi there
I'm trying use jquery to change the size of a popup document window so that the main image on the page will always be visable regardless of image size
eg: (see code snippet)
...
Dear All,
Does anybody know how to obtain the URL of the previous page visited under IE?
I find that many window.history properties as below only support Netscape.
window.history.curren...
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.
I have an ASP.NET application that is located on the server but is accessed from client machines. I need the application to retrieve computer name of the client computer that accesses the appl...
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?
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...