[Proto-Scripty] Stack Overflow at line: 0 ::

2009-02-19 Thread sravani
Hi i m trying to implement autocompleter using prototype and scriptaculous. i have included prototype.js, controls.js, scriptaculous.js and wrote a sample jsp and called Autocompleter.Local using the below syntax: new Autocompleter.Local('autoCompleteTextField','autoCompleteMenu',a, { fullSearch:

[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-19 Thread kangax
On Feb 19, 12:04 pm, dashifen wrote: > Hacking around a bit, I have a working solution.  Where I used to say > something like this.responders.afterOpen = someOtherFunction() if I > instead simply make it this.afterOpen = someOtherFunction() I can > specify two different afterOpen actions for two

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
At 11:36 -0500 19/2/09, Jason Frisvold wrote: >Do you have any other tabs open, or maybe some extensions that gather >remote info? Firebug console reports errors for other scripts in other >tabs as well.. Might not even be related to what you're working on . Hi Jason I've tracked down exactly

[Proto-Scripty] Re: Remove an element from the DOM and add it later exactly to the same point

2009-02-19 Thread Aitor Garay-Romero
Thanks a lot for the helpful answers! I see that i shouldn't underestimate the native DOM attributes/methods... It could be interesting to add this remove/add-to-the-same-place functionality to prototype.js. Well, i don't know if other developers find it as helpful as i do... /AITOR O

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
At 11:36 -0500 19/2/09, Jason Frisvold wrote: >Do you have any other tabs open, or maybe some extensions that gather >remote info? Firebug console reports errors for other scripts in other >tabs as well.. Might not even be related to what you're working on . Hmmm. Not sure about this. I'll have

[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-19 Thread dashifen
Hacking around a bit, I have a working solution. Where I used to say something like this.responders.afterOpen = someOtherFunction() if I instead simply make it this.afterOpen = someOtherFunction() I can specify two different afterOpen actions for two different instances of a Dashbox object and it

[Proto-Scripty] Re: Another Prototype error?

2009-02-19 Thread Jason Frisvold
Chris Sansom wrote: > I keep getting a message I don't understand, and I can't even pin > down exactly when it's happening. Every now and then Firebug tells me > there's 1 error which, when I look at it, says: > > It appears not to have any adverse effect on the operation of what > I'm doing -

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
I keep getting a message I don't understand, and I can't even pin down exactly when it's happening. Every now and then Firebug tells me there's 1 error which, when I look at it, says: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]" nsres

[Proto-Scripty] Re: $(element) - prototype.js error?

2009-02-19 Thread T.J. Crowder
Hi, It sounds like someone is calling Prototype's $() function with an empty string or an undefined parameter. Prototype doesn't do that on its own (someone would have noticed), so you'll want to look at the code making the call, probably in a debugger so you can look at the call stack. Note th

[Proto-Scripty] Re: $(element) - prototype.js error?

2009-02-19 Thread Richard Quadling
2009/2/19 Fernando Gabrieli : > > Hello all, first of all thanks for Prototype! > > i am getting an error from prototype.js, in function: > > function $(element) { > if (arguments.length > 1) { >for (var i = 0, elements = [], length = arguments.length; i < > length; i++) > elements.push(

[Proto-Scripty] $(element) - prototype.js error?

2009-02-19 Thread Fernando Gabrieli
Hello all, first of all thanks for Prototype! i am getting an error from prototype.js, in function: function $(element) { if (arguments.length > 1) { for (var i = 0, elements = [], length = arguments.length; i < length; i++) elements.push($(arguments[i])); return elements; }

[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-19 Thread dashifen
On Feb 18, 6:01 pm, Tobie Langel wrote: > Hi, > > Why don't you just set your responders as regular instance methods of > your class ? > To be honest, I thought I had; I was under the (apparently mistaken) impression that the responders object would be instantiated within the scope of each objec

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread Mitul
Nope. Here we have to add multiple values using comma seperates. so that wont work i think. On Feb 19, 4:55 pm, david wrote: > Hi mitul, > > I will take a look at this with chrome (I did not have chrome here) > tonight (Paris Time). > Does the idee to clear the textarea and insert the selected v

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread david
Hi mitul, I will take a look at this with chrome (I did not have chrome here) tonight (Paris Time). Does the idee to clear the textarea and insert the selected value does not resolve your problem ?? even in chrome ?? -- david On 19 fév, 12:26, Mitul wrote: > sorry for incomplete details. >

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread Mitul
sorry for incomplete details. Look at Ask a Question at bottom right side. Please enter "Tata" in Is the question related to any stocks? textarea then hit enter after selecting anyone choice. Cursor will stay at the end of Tata. It should goes at the end of selected stock. Thanks for your commen

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread david
Hi mitul, where is the auto-suggest ?? btw, very nice design !! Just one thing I notice: When you click on advanced sarch, you link to a new page and the main menu (green) doesn't show anymore where you are. But that is not a crucial point !! and it's perhaps wanted ?? -- david On 19 fév, 12:

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread Mitul
Thanks for your reply david. You can test problem on http://www.moneyvidya.com/learn/qna.html. You can use following details to login: Username: mitulkalol a t y a h o o . com password: mitul123 Thanks, Mitul On Feb 19, 3:57 pm, david wrote: > Hi Mitul, > > can't test your problem, but if you

[Proto-Scripty] Re: cursor position problem while using autosuggest in chrome

2009-02-19 Thread david
Hi Mitul, can't test your problem, but if you grab the return value when the user selected one entry, and reapply the returned value to the textarea, doesn't it resolve your problem?? -- david On 19 fév, 08:19, Mitul wrote: > Hello Friends, > > I am having a problem since long time. I am stuck

[Proto-Scripty] My first post and an Ajax problem

2009-02-19 Thread Chris Sansom
At 21:17 -0800 18/2/09, T.J. Crowder wrote: >You must have checked this, but... Are you _absolutely_ sure that >bookFormHandler() is being called at all? It sounds like it's just >not hooked up. Hi Yes, I am/was absolutely sure. In my somewhat crude debugging process I'd put a couple of alert

[Proto-Scripty] Re: Using the appear effect with IE7 yields crappy-looking text

2009-02-19 Thread javamaasai
hey, Yes i looked at it [alpher.js] Event.observe(window, 'load', page_loaded_alpha); function page_loaded_alpha(evt) { if($('firstTimeAlphaLink')) { $('firstTimeAlphaLink').onclick=show_first_time_alpha_form; } if($('alphaRegisterBack')) {

[Proto-Scripty] cursor position problem while using autosuggest in chrome

2009-02-19 Thread Mitul
Hello Friends, I am having a problem since long time. I am stuck at issue which is related to Google Chrome only. Here is my problem I have used auto-suggest feature of prototype. When I enter a text in textarea and autosuggest comes up. When I select an item from list cursor is stay at last cha