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 = $.get("http://localhost:8080/cou
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 debugg
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 r
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 +
"/", {}, functi
4 matches
Mail list logo