How to solve this bug ?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
rax369
Forum Commoner
Posts: 56
Joined: Sun Oct 06, 2002 8:50 pm

How to solve this bug ?

Post by rax369 »

What could be causing this problem at the client side ?

Image

I have tested my page at the server side thousand of times and I have never had, that buggy message. I dont have idea to what line of code refers that "line 48" expected ")"

HELP PLEASE :cry:
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

have you tried to press "Yes"? ;)
Probably a kind of debugger will popup and show you line 48 (as seen by the client)
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

javascript errors

Post by phpScott »

JavaScript errors are the biggest pain in the a**. The best way I find to try and debug js is to use netscape 7 as it has a very handy javascript console as they call it that is way better at figureing our js erros compared to IE. It under tools and nternet options or something of the like.

Your error probably refers to line 48 or there abouts give or take 5 lines. If you have php code generating the javascript you will have to do a view source and count down 48 lines to find the write spot.

If you don't mind posting your code we can all have a better look at it.

phpScott
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

having MS InterDev installed I have no problems with debugging JS errors occuring in IE
(ok, I know: shut up, volka :D )
Post Reply