[jQuery] Re: Trouble with draggable containment

2010-01-27 Thread bobslf
On Jan 26, 10:59 am, bobslf bob...@gmail.com wrote: I have a test page that demonstrates the problem:http://www.hindbrain.net/ex10.php I have containment: 'parent' for the draggable div. If you try to move it, it jump above the body (window), out of sight. I've had different sizes

[jQuery] Trouble with draggable containment

2010-01-26 Thread bobslf
I have a test page that demonstrates the problem: http://www.hindbrain.net/ex10.php I have containment: 'parent' for the draggable div. If you try to move it, it jump above the body (window), out of sight. I've had different sizes for parts of this page and often you can see it poking down from

[jQuery] Can someone tell me how to debug this?

2009-10-21 Thread bobslf
Here are two files ( one html and one .php file). I'm trying to get backend.php to send text to the .html file but nothing happens. Does anyone know what is wrong with this or how to debug it? thanks, Bob here is the html file: - !DOCTYPE html PUBLIC -//W3C//DTD

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
On Oct 21, 7:51 am, waseem sabjee waseemsab...@gmail.com wrote: Hi there,just one question - do you need to use frames or would prefer to do this without frames ? I don't care: whatever works. This is just a sample that I'm trying to get working. I need backend.php to be able do update the

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
I should add that I've started learning to use firebug and I can break at the onload() function but not on any of the others. Bob On Oct 21, 8:11 am, bobslf bob...@gmail.com wrote: On Oct 21, 7:51 am, waseem sabjee waseemsab...@gmail.com wrote: Hi there,just one question - do you need

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
OK, thanks. The backend.php makes sense. But I'm not sure how to format the .html file. I tried this and it doesn't work. Do I need to put $(function somewhere else? Bob !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd html

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
I pasted what you posted in. The page just displays this $(function() { $.ajax({ url: backend.php, cache: false, success: function(html) { $(.target).html(html); } }); Should the 'function' be between head and /head? This is the current .html file: !DOCTYPE html PUBLIC

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
It looks to me like there should be an extra }); at the end of the function. Is that right? Anyway, I tried it with with that and I still get a line printed with the jquery function source code. Bob On Oct 21, 9:12 am, bobslf bob...@gmail.com wrote: I pasted what you posted in. The page just

[jQuery] Re: Can someone tell me how to debug this?

2009-10-21 Thread bobslf
OK. This starting to work. I didn't have 'function' surrounded by script /script. However it is not displaying what backend.php is sending in real time. Backend.php is just counting to 3 with a delay of 1 second after each echo function. I see the backend's display but only after the entire php

[jQuery] Why doesn't this work (comet)?

2009-10-20 Thread bobslf
I found this in a thread here called 'jquery doing comet'. It didn't work for me unmodified. I also modified it a little and it still doesn't work. Can someone tell me what's wrong? Bob here is the html file: - !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN

[jQuery] Need minimal comet example

2009-10-19 Thread bobslf
I don't know much about javascript or jquery, but I was wondering if I can get something like this to work with jquery. It uses the prototype library: http://www.zeitoun.net/articles/comet_and_php/start I have their simple example working, but now need to modify it and am running into weird