Re: [Proto-Scripty] Ajax CORS error message
are you using Chrome by any chance? I noticed that it complains about some other headers I try to set in the same way. On Wed, Jan 16, 2013 at 4:21 PM, Dave Lazar hunkyb...@gmail.com wrote: As I mentioned... this a CORS setup, so obviously it is cross-site. That part of the stack works perfect, and the response is indeed dished out to the browser as expected. The only problem I have is Prototype not liking the header... I am looking for the tip that will silence that... Thanks On Wednesday, January 16, 2013 5:12:43 PM UTC-5, DaveK wrote: is the page served from http://test.heroku.com ? If not, it's a cross-site scripting security issue. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/xcPk0scKJdkJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: The order of iteration with Hash objects.
Yes. Of course. On Oct 6, 2011 10:54 AM, T.J. Crowder t...@crowdersoftware.com wrote: On Oct 5, 2:39 pm, Shane McCarron halindr...@gmail.com wrote: If the sorted order of the hash keys isn't what you want, you might also consider assigning ordinals as part of the hash key. Assuming you have less than 1 hash keys, I would do something like _myKey as a key, where is a number that you increase each time you put an item into the hash. You'd still have to sort the keys after retrieving them, they won't be guaranteed to be iterated in order. -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: The order of iteration with Hash objects.
If the sorted order of the hash keys isn't what you want, you might also consider assigning ordinals as part of the hash key. Assuming you have less than 1 hash keys, I would do something like _myKey as a key, where is a number that you increase each time you put an item into the hash. Of course, if you are using a hash as a means of ensuring that an item is never collected more than once, you will need ANOTHER hash that maps myKey to so you can test to see if you have already seen myKey. On Wed, Oct 5, 2011 at 5:47 AM, T.J. Crowder t...@crowdersoftware.com wrote: On Oct 4, 5:38 pm, surge gera...@gmail.com wrote: I have this nasty problem with hashes. IE 8 disregards the order of hash element declarations and when I do hash_name.each(), the result is out of order so to speak -- although I know that the order is not guaranteed. What's the best solution if I want to stay with hashes? You said it yourself: The order is not guaranteed. It could change from one dot release of the browser to the next. If you need a specific order, you need to get the keys (Hash#keys[1]) and sort them (Array#sort[2]), then loop through them in their (now) sorted order. [1] http://api.prototypejs.org/language/Hash/prototype/keys/ [2] http://es5.github.com/#x15.4.4.11 -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: $ function and IE
Yes... but in IE (in particular *old* IE) that lookup is very expensive. Doing it twice isn't a big deal. But if it is in a loop and is being done LOTS of times it can become a big deal. Basically, document.getElementById is super slow in IE. On Wed, Aug 31, 2011 at 3:07 PM, Jason jwestbr...@gmail.com wrote: I actually user logic to solve your problem if($('someid') != undefined) { $('someid').hide() // or whatever you plan to do } this cuts down on a function call of invoke and the CSS parser looking for a CSS selector that matches On Aug 30, 1:40 pm, Walter Lee Davis wa...@wdstudio.com wrote: You're welcome. I gave up being surprised what IE does somewhere back in 1998. Walter On Aug 30, 2011, at 4:19 PM, Shane McCarron wrote: That's very clever. Mostly I am surprised that only IE pukes on what I assume to be a very common problem... Anyway, thanks! On Tue, Aug 30, 2011 at 3:01 PM, Walter Lee Davis wa...@wdstudio.com wrote: The easiest way around this is to write your code so it fails gracefully. Either one of these will work: $$('#noSuchElement').invoke(yourFunction); or var elm = $('noSuchElement'); if (elm) yourFunction(); The first one is my favorite, because it swallows any errors. If you're saying that you're getting an error from IE just from trying to use $('noSuchElement') all by itself, not actually trying to use the return from that, then the first method is what I would advise. Walter On Aug 30, 2011, at 3:06 PM, Shane McCarron wrote: I am sure this is a FAQ... but in IE prototype (version 1.7) throws an error when there is a reference to an ID that is not on the page (e.g., $('noSuchElement)). Is there some trick or idiom to work around this? -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en . -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en . -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en . -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] $ function and IE
I am sure this is a FAQ... but in IE prototype (version 1.7) throws an error when there is a reference to an ID that is not on the page (e.g., $('noSuchElement)). Is there some trick or idiom to work around this? -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] $ function and IE
That's very clever. Mostly I am surprised that only IE pukes on what I assume to be a very common problem... Anyway, thanks! On Tue, Aug 30, 2011 at 3:01 PM, Walter Lee Davis wa...@wdstudio.comwrote: The easiest way around this is to write your code so it fails gracefully. Either one of these will work: $$('#noSuchElement').invoke(**yourFunction); or var elm = $('noSuchElement'); if (elm) yourFunction(); The first one is my favorite, because it swallows any errors. If you're saying that you're getting an error from IE just from trying to use $('noSuchElement') all by itself, not actually trying to use the return from that, then the first method is what I would advise. Walter On Aug 30, 2011, at 3:06 PM, Shane McCarron wrote: I am sure this is a FAQ... but in IE prototype (version 1.7) throws an error when there is a reference to an ID that is not on the page (e.g., $('noSuchElement)). Is there some trick or idiom to work around this? -- Shane McCarron halindr...@gmail.com -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+** unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/prototype-scriptaculous?**hl=enhttp://groups.google.com/group/prototype-scriptaculous?hl=en . -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+** unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/prototype-scriptaculous?**hl=enhttp://groups.google.com/group/prototype-scriptaculous?hl=en . -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] $ function and IE
Actually, I lied. They ALL puke. Duh. It is just that IE is more obvious about it. I guess everyone else already knew this. I am slow ;-) On Tue, Aug 30, 2011 at 3:19 PM, Shane McCarron halindr...@gmail.comwrote: That's very clever. Mostly I am surprised that only IE pukes on what I assume to be a very common problem... Anyway, thanks! On Tue, Aug 30, 2011 at 3:01 PM, Walter Lee Davis wa...@wdstudio.comwrote: The easiest way around this is to write your code so it fails gracefully. Either one of these will work: $$('#noSuchElement').invoke(**yourFunction); or var elm = $('noSuchElement'); if (elm) yourFunction(); The first one is my favorite, because it swallows any errors. If you're saying that you're getting an error from IE just from trying to use $('noSuchElement') all by itself, not actually trying to use the return from that, then the first method is what I would advise. Walter On Aug 30, 2011, at 3:06 PM, Shane McCarron wrote: I am sure this is a FAQ... but in IE prototype (version 1.7) throws an error when there is a reference to an ID that is not on the page (e.g., $('noSuchElement)). Is there some trick or idiom to work around this? -- Shane McCarron halindr...@gmail.com -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+** unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/prototype-scriptaculous?**hl=enhttp://groups.google.com/group/prototype-scriptaculous?hl=en . -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+** unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/prototype-scriptaculous?**hl=enhttp://groups.google.com/group/prototype-scriptaculous?hl=en . -- Shane McCarron halindr...@gmail.com -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Aw: Re: Prototype itself throws errors in IE7
FYI so does IE6. IE8 doesn't seem to mind. On Mon, Aug 29, 2011 at 2:37 AM, Luke kickingje...@gmail.com wrote: Ok, thank you guys but the problem was something different. It's almost emberassing ^^. I simply included prototype.js twice. While every normal Browser doesn't care, IE7 throws the above mentioned errors. Thanks though for your responses and sorry for having wasted your time ;) Lukas -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/9PGVg6luyqMJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Combo box?
Does anyone know of a *stable* combobox implementation that uses Prototype? -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Best way to show / hide a menu
I have a menu of operations (shown as icons) that I want to reveal when the user move their mouse over a region. Prototype's event handling + scriptaculous gives me great ways to do this. However, I want to menu (a floating div) to disappear when: 1. Some time has elapsed and the user never moved into the menu. 2. The user moves into the menu and then moves out of it. 3. The user selects an item in the menu. These all seem pretty easy to accomplish, but I keep running into weird edge conditions. Like if the user exposes the menu, moves the cursor into the menu, and then minimizes all the windows on the screen (Windows-D), then reveals the browser window... in my implementation the menu is still down even though it no longer has focus! It occurs to me that this is most likely a solved problem. Probably solved over and over and over. So... can anyone recommend a simple solution that will just handle all these edge conditions for me? Or recommend an idiom I can implement myself that will avoid the weird cases? Thanks! -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] element is null - say what
Note that your id on the input is different than the name. I would make them the same and then reference by that id. On Mon, Jun 13, 2011 at 10:35 AM, Phil Petree phil.pet...@gmail.com wrote: Walter you made me doubt myself... LOL I've been integrating this new code with the old form and the id's are different in the old form but I had made those changes. Event.observe('ajzip', 'keyup', cities); label class='column' id='labzip' for='ajzip'5 Digit Zip:/labelinput type='text' name='zip' size='5' maxlength='5' id='ajzip' class='required validate-digits' On Mon, Jun 13, 2011 at 11:12 AM, Walter Davis wa...@wdstudio.com wrote: Does your field have the ID attribute set to 'zip'? If it's working in IE, that's a strong bet that it doesn't, but that it does have the name set to 'zip'. Element.getValue() and $F() need a valid (properly-formed and unique on the page) ID for their magic to happen. If you can't add an ID to the input, you can pass a more elaborate selector like document.forms[0].zip (without surrounding quotes, naturally) into the function. $() will work from an object or an ID, but it won't work with just a name, except in IE, which has a serious bug in that corner. Walter On Jun 13, 2011, at 11:03 AM, Phil Petree wrote: In Firefox 3.6.16 I have an Event.observe('ajzip', 'keyup', cities); and the first line of which tests to see if I have 5 digits entered in the zip code field and if so it makes an ajax call... works great in IE. When I press and release a key, my function cities gets called, it tests the length of zip and then jumps into prototype.js on line 4064 where it attempts to execute the following lines: 1) getValue: function(element) { 2) element = $(element); 3) var method = element.tagName.toLowerCase(); 4) return Form.Element.Serializers[method](element); When line 1 gets called, element is set to zip; line 2 returns null and line 3 throws an Element is null error! Like I said, this all works fine in IE. Any ideas? -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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 from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Finding the position of a scroll bar for an element with overflow:auto
I have an element that has overflow:auto. The contents of the element are updated from time to time via ajax calls. I want to ensure that when this happens, if the user has scrolled down into the content, their scroll position stays the same even through the content is effectively regenerated. Is there a way to get the scrollTop for an element? -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] disable right click
Are there still browsers that don't support the contextmenu event class though? On Sat, Jun 5, 2010 at 4:40 AM, Johan Arensman johanm...@gmail.com wrote: You can using Event.observe() Event.observe(window, 'contextmenu', function(event) { event.stop(); }); On Sat, Jun 5, 2010 at 6:29 AM, ankit.it09 ankit.i...@gmail.com wrote: How to disable right click in a web page using prototype , i mean is there any method. Thanks Ankit -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Getting the value of a form field
I am sure this is just ignorance on my part, but... I would really like to $F('formField') to get the value of whatever field I am interested in. However, it seems formField needs to be the field's ID, not its Name. That's cool, except when I have Radio Buttons or Check Boxes. You aren't allowed to have multiple elements with the same ID and still be valid. What's the right way to do this? -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Getting the value of a form field
Clever! I will try that. Another approach that might work for some is to serialize the form data into a hash. Then you should have the values for each form control indexed by their name. var h = $('formId').serialize( true ) ; Then, for a form control with a name of 'name' you can do: if (h{'name'} == 'valueIcareAbout') ... On Fri, Apr 30, 2010 at 1:25 PM, Jonathan Rosenberg j...@tabbysplace.orgwrote: I think this might work. You could wrap it up into a function, of course, with name as a parameter. $$(‘input[type=”radio”][name=”whatever”]’).find(function(radio) { return radio.checked; }).value; -- Jonathan Rosenberg Founder Executive Director, Tabby's Place http://www.tabbysplace.org/ *From:* prototype-scriptaculous@googlegroups.com [mailto: prototype-scriptacul...@googlegroups.com] *On Behalf Of *Shane McCarron *Sent:* Friday, April 30, 2010 1:32 PM *To:* prototype-scriptaculous@googlegroups.com *Subject:* [Proto-Scripty] Getting the value of a form field I am sure this is just ignorance on my part, but... I would really like to $F('formField') to get the value of whatever field I am interested in. However, it seems formField needs to be the field's ID, not its Name. That's cool, except when I have Radio Buttons or Check Boxes. You aren't allowed to have multiple elements with the same ID and still be valid. What's the right way to do this? -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: The Unofficial Wiki
I agree - a central site that is easy to contribute to seems the best path. On Thu, Apr 8, 2010 at 8:29 AM, T.J. Crowder t...@crowdersoftware.com wrote: And my answer: I really like having something owned by the community, but I don't see much point if there's no itch to scratch. People are more likely to find content on the main site than in an unofficial wiki somewhere. As long as contributing to the site is _easy_, well- publicized, and not a long drawn-out process, I think we're all (core team, community, new adopters of Prototype) better served migrating the content to the main site and going that route. -- T.J. :-) On Apr 8, 2:23 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi folks, As many of you know, we've had an unofficial Prototype script.aculo.us wiki for about 18 months: http://proto-scripty.wikidot.com/ I have a question for the community, but first a preamble. Preamble: In the last year (more, actually), there's been precisely one edit by someone other than me. :-) (Doug Reeder added an on0 handler to the bulletproof ajax page.) I wrote the vast majority of the articles and have been very nearly the only person maintaining them, not that there's been a lot to do on that front. (Don't get the impression I mind; I don't.) This suggests to me that - 1. We don't need a wiki or 2. We do, but it's too hard to contribute to that one because you have to request access and wait for it to be granted As a side note: Tobie and the core team are working on moving the main Prototype website to GitHub (don't worry, the URL doesn't change) from the current CMS it's on (Mephisto), and Tobie says that it will be a lot easier for people to contribute official content to the website once that's done. Question: Do we need a wiki with user-generated content? Or should we just move all of the relevant content to the Prototype website and make sure the process for contributing to the website is well-publicized, easy, and efficient? Thanks, -- T.J. Crowder Independent Software Consultant tj / crowder software / comwww.crowdersoftware.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: AJAX.Request complains about 'function expected' in IE6
Yes, it was populated above with some complex JSON string. Thanks! On Thu, Mar 18, 2010 at 9:16 AM, disccomp discc...@gmail.com wrote: I think: requestHeaders: ['Accept-Encoding', ''] should be: requestHeaders: {'Accept-Encoding': ''} 'msg' is not explicitly defined in your post, it is set somewhere, right? -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- Shane McCarron halindr...@gmail.com -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] AJAX.Request complains about 'function expected' in IE6
I have a simple AJAX Request that I am trying to run through Prototype 1.6.0.3: var uri = 'someURI' ; new Ajax.Request(uri, { method: 'post', parameters : msg , asynchronous: true, requestHeaders: ['Accept-Encoding', ''] }) ; In IE 6 this throws an error about 'function expected'. Since none of the parameters I am passing require functions, I am at a loss to figure out exactly what it is complaining about. Does anyone have a clue? -- 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-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.