I have a complex form with FCKEditor and some Jquery, today i was debugging an issue where a function run after a form action would just magically stop halfway through. I eventually did alert(functionName) which in firefox dumps the function code.
To my suprise the dumped function missed the last line which called the next function in the chain. View source confirmed that the code was as i wrote it. So I edited the function, moving the text around (figuring whitespace might be that affecting it!) and refreshed and this time it worked, the dumped function had the last function call.
Problem solved. On to the next one
Thursday, April 10, 2008
Strange javascript bug, functions loosing lines?
Labels:
dev,
javascript
No comments:
Post a Comment