Is there a way to create a modal pop up window using window.open in javascript? I want to create a window like an alert dialog (modal) but with the ability to differentiate if the user clicks ...
Hi all
How can I display my computer name(hostname) and IP address in an HTML file.. of course using Javascript..
For example when I open hostname.html (this file that you would help ...
Hello Folks,
I am using jQuery append function to show "clear button" on anchor onclick event, the problem is its adding the button every time i click on the anchor tag. is there anyway we c...
I am using the below code to warn the user if they try and leave the page, the thing is i have it on a page with a flash file, what i want is to be able to re direct to another page without th...
Hello Experts,
I have a script attached which needs another parameter to pass the query param which is different for each call
Thanks for your help
Rgds
S
Hi there,
I have a modular script. My modular script is used to move several
<div> layers into position on the website when it loads.
I have tried using setTimeout to delay each line, ...
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, ...
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...
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...
I am trying to disable ENTER in a form. Several references have suggested using window.event.keyCode for MSIE.
In the code below, I capture each keypress in the text input; pressing ENTER ...
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 ...
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 have an HTML listbox in an ASP page in which users can select one or more values, as follows:
<select class='cInput' name="listbox" size=5 multiple STYLE='width:300px;'>
On submit a Ja...
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)?
...
I am using the following javascript to reload the page if the window is resized. It works great in IE and Netscape, but it is not working in Firefox. Does Firefox support the onResize event ha...
Hi ,
While running a Adobe Flex Application,
I'm getting error "Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed."
Can anyone explain me why i'm getting this ...
I have this javascript:
if (window.XMLHttpRequest) {
newLogoAsk = new XMLHttpRequest();
}
function getNewLogo() {
if (window.XMLHttpRequest) {
// branch for IE/Windows ActiveX versi...
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...
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 to submit a form with URL , by clicking on a link . My page name is "MyPage.php"
Here is what am doing .
echo "<td><a href='MyPage.php?Filter=1' onclick='javascript: submit()' ;> Se...
Hey all i am trying to get the following code to start BEFORE the page starts loading... and then use the onload="" to end the overlay. I would also like it to fade in and out. You can replace...
Hello Experts,
I am making an icon on the page to look pale by reducing its opacity when the user clicks on it.
something like this
$(this).animate({opacity: "0.3"}, 500);
It is working f...
I need a free JavaScript code which gives me same effect as:
http://www.magictoolbox.com/magiczoom/
Hi Experts,
I have a <input type="file"...> in my HTML form
and I want to see the full path plus filename of a selected file as a parameter,
for the form processing.
I use my browser a...
newwindow=window.open(url,null,features);
//this works fine, it loads a new window, with the menubar/toolbar disabled as specified in features
//the problem is, I can't close the window.op...