Enabling Javascript

Jul 23, 2005

I have here a serious problem. I don't know why, but contents with
javascript where not displayed anymore.

For example, when I go to www.sport1.de there is a section called LIVE
with the tickers they have. But this frame is empty. Also when I want
to check my emails at www.gmx.de I see the first frme. Everything
under "LOGOUT" isn't there. The status bar said "Done" but nothing
happens anymore.

I alreday tried a reinstall of the IE6 I use, and changing the
security setting. Javascript seems to be enabled.

View 2 Replies


ADVERTISEMENT

Enabling A Disabled Box?

Nov 29, 2010

im trying to make a box thats disabled become enabled when a check box is seclected. i would show some code of me trying it but i dont have the first clue of where to start on it.

View 4 Replies View Related

Enabling Button After A Set Time

Feb 20, 2009

I have a Button that is linked to a different page and I want it to be disabled until a set time has expired for say like after 59 seconds it will enable.

View 1 Replies View Related

Enabling And Disabling Radio Box Value ?

Mar 25, 2010

I have some radio group boxes and according to select one of the values, the other values in another radio boxes should be enabled and checked. In the onClick method of each radiobox i call a setDefault() function to reset the value of radioboxes....e.g:

Problem: The code in setDefault() doesn't work properly and after disabling the radios, i can't enable them again.

View 1 Replies View Related

Enabling Different Targets With A JS Include

Jan 11, 2006

I have two pages that are both calling the same include file- essentially a form. They are identical. The problem is one is located in a pop up and one is on a full page. My Project Manager wants the pop up one to open in the same window- and the full one to open in a new window. As it does now.

The problem? She wants the logic to be pulled from the same page. Any clues whatsoever?

View 39 Replies View Related

Disabling And Enabling A Textbox?

Jun 7, 2010

I have not used JavaScript in a good long while (i'm a SQL guy by day) and am running into what I consider to be a simple problem. However, i've done LOTS of research on my problem and not able to find resolution on my own.

I've got radio buttons - one for Male and one for Female. I also have a textbox which is disabled by default when the HTML page loads. When the FEMALE radio button is checked, it should enable the textbox so that the end user can enter text into it. When the MALE radio button is checked, the textbox should remain disabled. The HTML page is calling a JS function which is inside a separate script, see code below.

Code:

function enableTextbox()
{
if (getElementByID("F").checked == true)

[code]...

View 12 Replies View Related

Enabling & Disabling Image Buttons

Aug 10, 2006

I'm using image in an anchor tag as a submit button.

We use:

document.images['img_name'].parentElement.removeAttribute('href') in ajavascript function to make a image button non-clickable (not-hyperlink). How do we make it clickable again (have a hyperlink).

View 1 Replies View Related

Disabling And Enabling Button Based On Value From PHP

Feb 11, 2010

I don't know if it CAN be done via JS,And if the value of gig_count is less than 20, then the 'make certificate' button will be disabled. Once gig_count is 20 or more, then it is re-enabled for that particular row.

View 1 Replies View Related

Enabling Submit Button On Website

Nov 1, 2011

I'm writing an android application to login into a website by injecting javascript into the HTML. So far it works for inputting the username and password, but I can't enable the submit button.

View 3 Replies View Related

Disabling/Enabling A Text Field If...

Apr 3, 2002

In forms, we have all seen where people have numerous options to choose from in a SELECT field, or they can select Other, and type something in a different text field.

I would like to be able to disable this Other text field if the SELECT isn't on Other.

I know how to disable the submit button, but I don't know how, or even if, you can disable/enable a specific text field.

View 2 Replies View Related

Enabling And Disabling Form Elements

Apr 7, 2010

i'm having a bit of an issue enabling and disabling form elements through javascript. my code looks as follows:

HTML Code:
<table name="table1"...>
<form name="form1"...>
<tr>
<td>
[Code]...

View 1 Replies View Related

Dynamic Enabling/disabling Of Form Elements?

Jul 20, 2005

I'm currently working on a form for my site and would like to do something
that I've seen many times on other sites. I would like to make a particular
form element enabled or disabled depending on whether another requisite form
radio button is checked. I tried this:

<input type="radio" name="yesorno" id="yes"
onClick="document.getElementById('metoo').disabled = 'false'">
<br>
<input type="checkbox" id="metoo" disabled="true">
<br>
<br>
<input type="radio" name="yesorno" id="no">

but it doesn't work--I can't figure out why.

View 1 Replies View Related

Enabling / Disabling Textbox Using Radio Button

May 2, 2011

i have a jsp page in which there is a table. the number of rows is variable and depends on a pre-defined query.every row has 2 editable textboxes which are initially disabled. i need to activate these textboxes according to the radio button which corresponds to the particular row in question.

View 8 Replies View Related

Enabling Drop Down Choice With Spaces To Be Emailed

Dec 6, 2005

I have a form where, at one point, the user is asked to pick which state they live in. I noticed that, for states consisting of more than one word, whenever it gets emailed, only the first word of that state is emailed to my company. For example, "New York" would be sent to us as "New". Code:

View 1 Replies View Related

Enabling ActiveX Control In Internet Explorer

Jul 30, 2009

How to enable axtiveX control using Javascript ...

View 1 Replies View Related

JQuery :: Re-enabling Events After Ajax Call?

Mar 5, 2011

I have a list with entries, which can be removed, by clicking on a delete icon. That triggers a jQuery event, resulting in an ajax call to delete the clicked record. The new list is reloaded in the div, but the delete icons no longer trigger jQuery events.

I am missing something, probably re-enabling the event handlers

HTML:

Code:
<div id="mySelectedRegions">
<p class="regionListCountry">Canada</p>
<p class="regionListState">Alberta</p>

[Code].....

View 2 Replies View Related

JQuery :: Dis/Enabling Submit Button(s) By Many Checked Boxes?

Sep 2, 2009

Much like gMail, I have a list of files with checkboxes and a number of submit buttons with options.What I'm trying to do is enable or disable these submit buttons depending on how many checkboxes are checked.ie. if only one checkbox in the group is checked, enable the "Get Link" button but if none or more than one is checked, disable the "Get Link" button.Similarly, if none or only one checkbox is checked, disable the "Get List" button but if more than one is checked, enable the "Get List" button.I'm afraid I have no idea where to start!There are a couple more options but I'm sure I could figure it out after that.

View 1 Replies View Related

JQuery :: Enabling Disabled Button Does Not Refresh Correctly?

Mar 29, 2011

I am disabling an input button on my data entry form until all of the data validates correctly. When I enable the button it does not always display the same as the Cancel button that was not disabled. Ioccasionally appears asthoughthe mouse is hovering over it. I have discovered that if I tab to the button or if I hover the mouse over it, it then displays OK after I tab to the next button or move the mouse off of it.This is the html that defines the button.

<input type="button" id="submitButton" value="Submit Changes"></input>

This is the javascript that inits the button.

$("#submitButton").button().click(function() {
submitData(); // Submits data via Ajax
});

[code]....

View 2 Replies View Related

Effect Of Js On Onload() Event - Enabling Always Slows Down The Page

Feb 14, 2010

I've been doing some research on javascript's impact on the time it takes for a page to load, as defined by firebug's "Net" tab's "onload" demarcation (the red line). It seems that aside from dynamic data that's not part of the HTML, enabling javascript always slows down the page. I've checked wikipedia, yahoo, digg, even google; a javascript-enabled loading of each site shows a later onload() event compared to loading the same site without javascript enabled. My question: Can anyone think of a site that loads faster with javascript than it does without javascript?

View 11 Replies View Related

Enabling A Text Input Field ONLY When A Checkbox Is Ticked

Dec 22, 2007

Basically it's a layout creator, mostly, with a few customization options. Basically as you can see from the HTML below, there is a checkbox with the id "network" and a text input field with the id "username". Code:

View 1 Replies View Related

Elp Enabling / Disbaling Text Box When Radio Button Is Selected?

May 3, 2011

2 radio button and 2 text boxes, say them R1, T1, R2, T2when I select R1 then T1 is enabled , and T2 is disabled. when I select R2, then T1 is disable and T2 is enabled.Only, R1 or R2 can be selected (so giving them one name)

View 2 Replies View Related

JQuery :: Enabling Disabled Submit Button On Browser's Back Action?

Feb 3, 2010

when the following code is used in my JSP page:

$('#myForm').bind('submit', function() {
$('#submit').attr('disabled', 'disabled');
});

it disables the submit button when my form is submitted (IDs are used). This action displays a result page. If the browser's Back button is pressed to change some of entered items, the submit button in Firefox is still disabled, while the same action in MSIE8 enables it again. I don't know if this is exactly JavaScript/browser/chache issue, how to get the submit button enabled 'automatically' Unfortunately the refresh button in Firefox doesn't help either (probably JSP issue) - I have to press Enter on the address bar which is not very obvious for every user.

View 1 Replies View Related

Enabling Fancy Box - Albeit, Bare Bones Instructions To "Fire The Plugin"

Feb 28, 2009

I can normally hack away at code to get what I want but this time I'm stumped before I've started. I just discovered Fancy Box - Sweet!I'm trying to get it to work here. It says in the , albeit, bare bones instructions to "Fire the Plugin" - I'm guessing that's where my problem lies but I'm not sure where to put that code.

View 5 Replies View Related

Dynamically Writing Html/javascript From A Javascript Function

Jul 23, 2005

I'm working on some code and am running into brick walls. I'm trying
to write out Javascript with Javascript and I've read the clj Meta FAQ
and didn't see the answer, read many similar posts (with no luck
though), and searched through the IRT.ORG Faqs
(www.irt.org/script/script.htm).

The Javascript is designed to open an popup window and then inside that
window call another script which will resize that window. There may be
another way around this but the reason I tried this approach initially
was that I wanted to call the onload handler in the popup window to
resize the image only after the image had completely loaded. I've had
some code in the primary Javascript file (showimage.js) before that
works if the image has been cached but on the first load, it doesn't
resize properly which tells me it is probably because it is trying to
resize the window based on the image size but it isn't completely known
at that point. So I removed that code and tried placing the resizing
code in the second Javascript file (resizewindow.js). BTW I've tried
other code to open a popup image and automatically size it ie Q1443 at
irt.org but that doesn't do exactly what we need.

Even if there is another way to do this with one file, I still want to
figure out why this isn't working in case I run into it in the future.

I thought what I would need to do to use document.writeln to write
Javascript would be to escape any special characters and to break
apart the script tag ie

document.writeln('</SCRIPT>');

would become

document.writeln('</SCR' + 'IPT>');

I have a HTML page and 2 Javascript files. All files are in the same
directory and have permissions set correctly.

Here are the 3 files (keep in mind wordwrap has jacked up the
formatting):

index.html
----------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test</title>
<SCRIPT type="text/javascript" LANGUAGE="JavaScript1.1"
SRC="showimage.js">
</SCRIPT>
</head>

<body>
Click the house<BR>
<A ONCLICK="newWindow1('house1.jpg','Nice House')"><IMG
SRC="house1thumb.jpg"></A>
</body>
</html>


showimage.js
------------
function newWindow1(pic,sitename)
{

picWindow=window.open('','','width=25,height=25,sc rollbars=1,resizable=1');
picWindow.document.writeln('<html> <head>');
picWindow.document.writeln('<SCR' + 'IPT type="text/javascript"
LANGUAGE="JavaScript1.1" SRC="resizewindow.js"></SCR' + 'IPT>');
picWindow.document.writeln('</head>');
picWindow.document.writeln('<body onload="resizewindow();">');
picWindow.document.writeln('<img src=' + pic + '>');
picWindow.document.writeln('</body> </html>');
picWindow.document.close();
}

resizewindow.js
---------------
function resizewindow()
{
// Do resizing here.
// Right now this isn't being executed
alert("resizing window");
}


Can anyone provide some pointers as to why this javascript is failing?
I'm using IE6 on Win2k and when I click on the image to open the popup
window, it does open the window but it is white with no content and the
system immediately goes from about 4% CPU usage to 100% and
consistently stays there until I kill that window with the task
manager.

View 9 Replies View Related

DOM Javascript - Imbed Javascript In Dynamically Added Row

Jul 23, 2005

Attached is a simple HTML file that adds and delete rows. In the add
row function I set an attribute "onClick" this triggers the
testMessage() function. When I try this in Firefox it works just fine
however on IE it just refuses to work.

What is interseting is the ROW that already exists has a similar
'onClick' event which works when the page is loaded, but subsequent
"row" additions to the table to not work in IE. Code:

View 9 Replies View Related

Text/javascript, Application/x-javascript, Difference?

Feb 19, 2007

two possibilities or the attribute type of script:

text/javascript (the one i usually use) application/x-javascript

what are the differencies between both?

depends on the html content?

for example html 4.0.1 versus xhtml 1.1?

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved