Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
j baldwin #1
javascript help - form element has no properties
i'm having trouble figuring out this error:
document.getElementById("tsearch") has no properties
here is the javascript:
<script language="javascript" type="text/javascript">
var pqs = new ParseQueryString();
if (pqs.param("search") == "all")
{
document.getElementById("tsearch").checked = true;
}
else
{
document.getElementById("tsearch").checked = false;
}
</script>
the html form element is <input type="radio" name="tsearch" id="tsearch"
value="all" />
ParseQueryString is stored in an exrternal file. I know it works because when
I change the action in the if statement to alert, it works fine. i cant seem to
set the checked value of the radio button.
any ideas?
j baldwin Guest
-
Get CSS properties affecting div element?
Is there any way to determine the different CSS properties affecting any particular element in a document? For example, let's say I want to find... -
Element (.....) is undefined in FORM
I am getting this error message after I submit a form (parts request):Error Occurred While Processing Request Element LIPSEALS4044 is undefined in... -
Properties, JavaScript and Viewstate
Hi all! I´m trying to build a custom panel control that has the ability to expand or collapse at runtime without postback. I switch the... -
#25640 [Opn->Asn]: simplexml element object properties return empty objects
ID: 25640 Updated by: sniper@php.net Reported By: tater at potatoe dot com -Status: Open +Status: ... -
#25640 [NEW]: simplexml element object properties return empty objects
From: tater at potatoe dot com Operating system: * PHP version: 5CVS-2003-09-23 (dev) PHP Bug Type: XML related Bug...



Reply With Quote

