[Proto-Scripty] Re: Javascript error in IE6 for Effect.Highlight

2008-11-18 Thread scripter
Hey thanks. Its working fine now. --~--~-~--~~~---~--~~ 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 unsubscribe

[Proto-Scripty] Re: Intellisense for prototype with Visual Studio 2008??

2008-11-18 Thread Christophe Porteneuve
uniquegodwin a écrit : Hello, Is there any signs of having intellisense for prototype in Visual Studio??...the same way it works for Jquery?? Is there any prototype.vsdoc.js file available?? There isn't for now. Prototype Core is resuming work on its PDoc system. Once it's up and

[Proto-Scripty] Re: Need help sending information from multiple forms

2008-11-18 Thread Abel Figueiredo
Thank you for your help. It's working as expected :-) On Nov 15, 3:32 am, kangax [EMAIL PROTECTED] wrote: On Nov 14, 11:52 am, Abel Figueiredo [EMAIL PROTECTED] wrote: This solution. Is it for same-named form controls? My solution doesn't have same-named controls. So with this i can

[Proto-Scripty] Re: Need help sending information from multiple forms

2008-11-18 Thread Abel Figueiredo
I spoke too soon. There's a little problem. One of the forms contains a select option. When I click a button the merge function is called and the value shown should be the selected one, but it's the first one instead. At first I thought it could be something else and I've submitted that

[Proto-Scripty] Passing variables after an onComplete

2008-11-18 Thread James Hoddinott
I'm stumped again :( I have the following HTML which is displayed whenever a ticket is loaded: ... div id='respanel'/div ul li title='Changes made here will automatically start or stop the clock as appropriate'Service is span id='istate'Blocked/span/li /ul ... After that is loaded, the function

[Proto-Scripty] Re: Intellisense for prototype with Visual Studio 2008??

2008-11-18 Thread uniquegodwin
wow superbbb..,Thank you so much... eagerly waiting for this...Hope it gets released really soon On Nov 18, 2:16 pm, Christophe Porteneuve [EMAIL PROTECTED] wrote: uniquegodwin a écrit : Hello, Is there any signs of having intellisense for prototype in Visual Studio??...the same way

[Proto-Scripty] Re: Need help sending information from multiple forms

2008-11-18 Thread Mona Remlawi
Hi Abel, Sorry I only skimmed through the thread here, so excuse me if my response comes irrelevant. Assuming forms is the array of forms you wanna submit, try the following: var paramsObj = forms.collect(function(f) {return f.serialize(false)}).join('').toQueryParams(); this basically merges

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-18 Thread Mona Remlawi
Hi Ricardo, You need to evaluate the transport.readyState of the previous Ajax.Request, and accordingly decide what you want to do. Basically, 1|2|3 readyStates mean the the request is still in progress. If you want to abort the old request, just call myRequest.transport.abort(); and carry on

[Proto-Scripty] Re: Event.observe doesn't work on window scroll event

2008-11-18 Thread Joe Moore
Well don't I feel foolish! That solved my problem. I guess I needed more coffee! Thanks, Joe On Mon, Nov 17, 2008 at 9:37 PM, kangax [EMAIL PROTECTED] wrote: On Nov 17, 12:16 pm, Joe Moore [EMAIL PROTECTED] wrote: I'm trying to use the bind to the windows.onscroll event with

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Matt Foster
Well if you're request method is GET and you're looking in POST, there could be some issues, make sure you're using and expecting the same method type on the client and the server. On Nov 18, 7:56 am, James Hoddinott [EMAIL PROTECTED] wrote: I'm stumped again :( I have the following HTML which

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-18 Thread Matt Foster
Instead of trying to keep the last reference to the XHR sent, just enforce a singleton style approach, such that the user can't request a refresh of data when a request is already pending. function fireAjax(){ if(Ajax.activeRequestCount == 0) new Ajax.Request(...); }

[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Matt Foster
new parent.Ajax.Updater('target', './refresh.php5, { method: You're sending a string, try using a direct object reference... var ele = window.document.getElementById('target'); ele.innerHTML = Loading...; new parent.Ajax.Updater(ele, './refresh.php5, ... On Nov 17, 4:37 pm, ronman [EMAIL

[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Ron Newman
Yep, tried that. I was trying to be SUBTLE by mentioning that it wanted a string as the first argument, but that's what I meant, that I tried assigning a var and then passing that. Seems it should work but it didn't. On Tue, Nov 18, 2008 at 10:11 AM, Matt Foster [EMAIL PROTECTED]wrote:

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
should parameters not be wrapped like so parameters : { f: v; } - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 18, 2008 12:56 PM Subject: [Proto-Scripty] Passing variables after an onComplete

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-18 Thread Alex Mcauley
or this method !! ... but be warned if you have other request asynchrnously in the page then they will start to become synchronous due to this But if you dont then this will work too Regards Alex - Original Message - From: Matt Foster [EMAIL PROTECTED] To: Prototype script.aculo.us

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
messy but if it a'int broke dont fix it is my motto !! - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 18, 2008 5:44 PM Subject: [Proto-Scripty] Re: Passing variables after an onComplete 2008/11/18 Matt

[Proto-Scripty] prototype/scriptaculous have resize images?

2008-11-18 Thread Miguel Beltran R.
Hi list prototype/scriptaculous have resize images? like http://extjs.com/deploy/dev/examples/resizable/basic.html -- Lo bueno de vivir un dia mas es saber que nos queda un dia menos de vida --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Matt Foster
Looking into the syntax, it executes the Element.update method on the container, as your container exists within the IFRAME, I'm assuming it doesn't have these extended methods. You could take two approaches from here. Extend the element before sending Ajax.Updater the reference or Use

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Matt Foster
No, its all POST methods being used here.         new Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'}); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To

[Proto-Scripty] Creating New Dom elements with Prototype don't display in IE, hmm?

2008-11-18 Thread Outpost
Hi, I am writing a simple calendar script. Using Prototype (1.6) I update the calendar's table creating and inserting new elements (TR, TD) for the days in to the DOM, applying Click Events to the TD along the way. The calendar works great on everything but IE(6,7), where the calendar simply

[Proto-Scripty] Multiple InPlaceEditors in a row

2008-11-18 Thread Felipe Lacerda
Hi there, folks. I'm a newcomer to scriptaculous, being exposed to it through symfony. Anyway, I'm trying to put several InPlaceEditors in the same row of a table and to toggle and/or submit them with an external control, a la .Net's DataGrid. I've successfully used the external control thingy to

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-18 Thread Ricardo Fontão Verhaeg
thanks! I was working (for studies purpouses) on a hand made auto-complete with prototype, the idea was that if the user types too fast it will launch only the latest request not all of them. Another issue i was having.. is that if I trigger two or more requests that will work on the same

[Proto-Scripty] Re: Creating New Dom elements with Prototype don't display in IE, hmm?

2008-11-18 Thread Jonathan Rosenberg
Not much info to go on, but ... are you using tables? If so, did you include tbody, tfoot thead elements? -- Jonathan Rosenberg Founder Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:[EMAIL

[Proto-Scripty] JSON and $H() to get size of returned JSON data

2008-11-18 Thread laf
So I have this function. It toggles error messages after an AJAX call for validation. It works fine in prototype 1.5, but an upgrade to 1.6 has broken it and I have not been able to work out why. onFormSuccess : function(transport) { var json =

[Proto-Scripty] Re: JSON and $H() to get size of returned JSON data

2008-11-18 Thread Tobie Langel
FWIW, you should be using response.responseJSON and setting the sanitizeJSON option of your ajax request to true. Would avoid evaluating the json object twice! Best, Tobie note: you'll need to set the mime-type of the response to 'application/ json' or the evalJSON option to 'force' On Nov

[Proto-Scripty] Re: Creating New Dom elements with Prototype don't display in IE, hmm?

2008-11-18 Thread Ken Snyder
yes, with tables in IE, you have to explicitly attach tr tags to a tbody not a table - Ken Snyder On 11/18/08, Jonathan Rosenberg [EMAIL PROTECTED] wrote: Not much info to go on, but ... are you using tables? If so, did you include tbody, tfoot thead elements? -- Jonathan Rosenberg

[Proto-Scripty] Re: JSON and $H() to get size of returned JSON data

2008-11-18 Thread Tobie Langel
if json.errors is an array, you don't need $A. $A is for iterables only (like dom node collections, for example). Best, Tobie On Nov 19, 5:01 am, Jerod Venema [EMAIL PROTECTED] wrote: It looks like json.errors should be an array, right? var json = {errors:[]} json.errors is an array...so