Forum Moderators: open

Message Too Old, No Replies

Javascript error: object doesn't support this property or method

         

JustinDia

6:23 pm on Aug 8, 2004 (gmt 0)

10+ Year Member



Hi,

I have spent literally all day trying to find out what is causing my error but I am zapped of any further functionality :)

I have a form that adds news records. You select 'City' then you select 'Business Category' - now when you select 'Business Category' the next drop-down menu should populate with 'Business Sub-categories' related to the 'Business Category' but once 'Business Category' is selected I get the javascript error:

Line: 98
char: 25
error: object doesn't support this property or method
code: 0

Can anyone save a burned out soul?

This is the URL: <snip>
On the 'business_category' I am using

onchange="this.form.ac.value='delete';this.form.submit()

Many thanks

[edited by: engine at 11:35 am (utc) on Aug. 9, 2004]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

Rambo Tribble

12:19 am on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You don't have <form></form> tags in your page. The form part of this.form doesn't exist, hence the error.

JustinDia

6:02 am on Aug 9, 2004 (gmt 0)

10+ Year Member



But I do have form tags on the page :)

<form method="post" action="add.php" id="pr" class="clearer">

Rambo Tribble

1:09 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I did a search on the page I was served from the URL you posted, and found no form tags.