ok i haven't touched js 4 ages and was wondering what the hell is wrong with this:
it just keeps telling me "object expected"Code:BLABLA
<tr onclick="showCompat('1');" >
BLABLA
<script>
function showCompat(compatItem) {
}
</sctipt>
thanks
Kris
Printable View
ok i haven't touched js 4 ages and was wondering what the hell is wrong with this:
it just keeps telling me "object expected"Code:BLABLA
<tr onclick="showCompat('1');" >
BLABLA
<script>
function showCompat(compatItem) {
}
</sctipt>
thanks
Kris
get rid of the semi-colon. Just for niceness, also give the scrip tag the attribute type="text/javascript"
yea i tried that still doesn;t work - i have no idea why :(
you misspelled </sctipt>
whops :S - lol - i thought that i was doing everything right - didn't even look @ that bit ;p
I edited your Subject. Also if you have your answer please edit the Subject and add the green checkmark.