[jQuery] Re: can only modify DOM via debugger

2008-01-10 Thread knairb01
Jeffrey, Thanks for trying to help. I tried your suggestion and, with the debugger running, the browser immediately followed the target of the 'get' in the code; the debugger didn't stop at any of the surrounding breakpoints. Odd. In all my past experiences that I was able to view with the

[jQuery] Re: can only modify DOM via debugger

2008-01-10 Thread knairb01
Alexey, Ah, yes! It probably is asynchronous! I should've thought of that. I restructured the code to look like this: $(document).ready(function() { $(a).click(function() { var coursename = $(this)[0].attributes['coursename'].nodeValue; var mydata =

[jQuery] Re: can only modify DOM via debugger

2008-01-09 Thread Alexey Blinov
Is it $.get() - asynchronous call? Maybe you try to fill textarea Before str1 get its data? I think you should filll textarea from Success event rather than after $.get call... On Jan 9, 2008 6:43 AM, Jeffrey Kretz [EMAIL PROTECTED] wrote: It might be worth a shot to try jQuery functions

[jQuery] Re: can only modify DOM via debugger

2008-01-08 Thread Jeffrey Kretz
It might be worth a shot to try jQuery functions rather than native functions. Something like this: $(document).ready(function() { $(a).click(function() { var coursename = $(this).attr('coursename'); var mydata = $.get(http://localhost:8080/course/; + coursename + /, {},