Re: Help with JavaScript
- From: Gregor Kofler <usenet@xxxxxxxxxxxxxxx>
- Date: Sat, 29 Mar 2008 00:52:38 +0100
akwarisk@xxxxxxxxx meinte:
When I try to run this web page, it says I have an error on my <Select
name="customer" onchange="showcustomer(this.value)"> line. Here is
the error I get:
Line: 57
Char: 1
Error: Object expected
Code:0
URL: http://akwarisk.brinkster.net/W3Schools/ajaxinline.html
No it says: Get a decent browser.
Perhaps
function showCustomer(str){^
<Select name="customer" onchange="showcustomer(this.value)">^
will already do the trick. Anyway, why are you randomly omitting the terminating semicolon?
Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
.
- References:
- Help with JavaScript
- From: akwarisk
- Help with JavaScript
- Prev by Date: Re: Using values passed through AJAX
- Next by Date: FAQ Topic - What is AJAX? (2008-03-29)
- Previous by thread: Re: Help with JavaScript
- Next by thread: FAQ Topic - What is AJAX? (2008-03-29)
- Index(es):
Relevant Pages
|
Loading