[Proto-Scripty] Re: Problem with update

2009-04-21 Thread Mona Remlawi
2 things, i advice you to add the global css rule table {border-collapse: collapse} and to insert your rows into table/tbody element tabletbody id='test'/tbody/table this would make it work for FF and IE on the other hand, if you are building dom elements on the fly, why not take a look at

[Proto-Scripty] AJAX calls from multiple browser tabs at the same time:

2009-04-21 Thread NN
When an user tries to send AJAX requests simultaneously from multiple browser tabs, one request gets completed and the page loads but the other AJAX calls are preempted. As a result of which the response is empty for the other calls. Only one call survives. In my application using struts 2.0, JSP

[Proto-Scripty] the effect in Effect.toggle does not work

2009-04-21 Thread Ram
Hi all, I have an RoR app in which Im using Effect.toggle('id', 'slide') to show and hide a div. However, the actual effect of sliding does not show (neither do 'blind' or 'appear'). Instead, there is a delay (of approximately the time that the effect might take) and the div is just displayed

[Proto-Scripty] Re: AJAX calls from multiple browser tabs at the same time:

2009-04-21 Thread Richard Quadling
2009/4/21 NN nitu.nived...@gmail.com: When an user tries to send AJAX requests simultaneously from multiple browser tabs, one request gets completed and the page loads but the other AJAX calls are preempted. As a result of which the response is empty for the other calls. Only one call

[Proto-Scripty] Re: Problem with update

2009-04-21 Thread T.J. Crowder
@Mona: Good catch! @nroose: Expanding slightly on what Mona was saying, TR is not longer a valid child element of TABLE in modern doc types, you must have a TBODY (or a THEAD or TFOOT) in between. Most browsers will helpfully insert one for you if you leave it out of your markup, but that

[Proto-Scripty] Re: AJAX calls from multiple browser tabs at the same time:

2009-04-21 Thread Walter Lee Davis
I'm not sure what the issue might be under Struts, but in PHP, you have to make sure that your sessions are closed immediately when trying to run multiple requests like this. I ran into something that sounds exactly as you describe a year and change ago, and making sure that the session

[Proto-Scripty] Re: Help with binding

2009-04-21 Thread ColinFine
On Apr 12, 2:20 am, kstubs kst...@gmail.com wrote: So quickly I go from I got it, to scratching my head and I don't got it but, I have made your changes and it works!  I guess then I only need to _bind_ in the case where I define my function for my timer and in my Event _observe_

[Proto-Scripty] onEnterEditMode destination is undefined

2009-04-21 Thread Newb.aculo.us
When I add onEnterEditMode to Ajax.InPlaceEditor, it seems to function as I would expect, but in the Firefox version 3.0.8 Error Console on Mac Leopard, I get destination is undefined for Line 108 in prototype.js version 1.6.0.3 bundled with script.aculo.us version 1.8.2.

[Proto-Scripty] Namespace Function

2009-04-21 Thread disccomp
Came across this page: http://blog.arc90.com/2008/06/an_easy_way_to_implement.php This function would make a nice utility function to include in Prototype, call it $N. So, $N('first.second.third.request) = New Ajax.Request(... $N Would make sure that each level of the namespace exists then

[Proto-Scripty] Re: Namespace Function

2009-04-21 Thread disccomp
Here's the working code: http://pastie.org/454045 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To

[Proto-Scripty] Re: Namespace Function

2009-04-21 Thread disccomp
Oops, left hand assignment error, didn't quite work the way I thought it would. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] Re: Namespace Function

2009-04-21 Thread RobG
On Apr 22, 9:57 am, disccomp discc...@gmail.com wrote: Here's the working code:http://pastie.org/454045 OK, here it is: | $N = function(ns){ *Always* declare variables. I can't see why you don't use: function $N(ns) { or, because I dislike the use of $ in variable names: function