Re: [Proto-Scripty] Future of prototype.js?

2017-08-04 Thread Jason Westbrook
Actually the github version is kinda pre 1.7.4 which drops support for old browsers, fixes some bugs, and other enhancements. Its currently waiting on Andrew to pull the trigger and get it tested and released. Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Aug 4, 2017 at 7:50

Re: [Proto-Scripty] could some some one build the latest version of prototype.js for me???

2016-10-08 Thread Jason Westbrook
Walter Davis has a CDN that he runs I added 1.7.3 and the current github build to that CDN. The current build is tagged 1.7.4-dev http://cdnadmin.freewaypro.com/libraries/16 Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Oct 7, 2016 at 1:42 AM, Pong Mok <vtsuper...@gmail.

Re: [Proto-Scripty] New Bugfix release 1.7.3

2015-10-02 Thread Jason Westbrook
There has only been 2 commits to the scriptaculous repo since 1.9 was tagged in 2010, so other than upgrading Prototype in the zip file that scriptaculous is released with I dont think there will be an official release - but I'll ask him just the same Jason Westbrook | T: 313-799-3770 | jwestbr

Re: [Proto-Scripty] datascroller pages not working

2015-06-09 Thread Jason Westbrook
Do you know what version of PrototypeJS is loaded. Alot of times upgrading to the latest version (1.7.2 April 2014) will solve problems Is this a Magento environment? If so you might not be able to upgrade Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Jun 5, 2015 at 9:31 AM

Re: [Proto-Scripty] Your favourite rich text editor?

2015-04-23 Thread Jason Westbrook
I've used FCKeditor (now CKEditor) as well as nicedit in many of my projects. Nicedit no longer has anyone supporting it - but still works rather well. neither of them require any dependencies and work out of the box Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Apr 23, 2015

Re: [Proto-Scripty] Slider help

2015-03-27 Thread Jason Westbrook
/ technically as soon as you have the track element you can do whatever you need - I put a data-* attribute on the track element to tell the callback what element I would be updating - I hope this helps you Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Mar 23, 2015 at 4:22 PM

Re: [Proto-Scripty] Prototype.js 1.4 open source license

2015-01-15 Thread Jason Westbrook
According to Andrew it has always been the same License MIT Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 14, 2015 at 11:33 PM, Jungan222 bjorn.jungs...@gmail.com wrote: What open source license is used for Prototype.js 1.4? I can not find this old version for download

Re: [Proto-Scripty] active elements

2014-08-27 Thread Jason Westbrook
ok thats good did trying the activate() method work? Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Aug 27, 2014 at 3:34 AM, Иван Иванов svjaz...@gmail.com wrote: Yes, element is a child of a form element. -- You received this message because you are subscribed

Re: [Proto-Scripty] active elements

2014-08-26 Thread Jason Westbrook
It looks like the method you are trying to call is activate() ? http://api.prototypejs.org/dom/Form/Element/prototype/activate/ If so make sure the element you are trying to call this on is a child of a form element Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Aug 26

Re: [Proto-Scripty] Event.observe

2014-07-14 Thread Jason Westbrook
But it does work See this fiddle http://jsfiddle.net/4MUZ4/ also make sure you are running the observe method after the DOM has finished loading and is ready to be manipulated Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Jul 13, 2014 at 11:33 PM, Иван Иванов svjaz

Re: [Proto-Scripty] Is there any way to cancel an Ajax request once it's been issued?

2014-04-15 Thread Jason Westbrook
and the abort() might only kill the callbacks but not the process in the server. Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Apr 15, 2014 at 6:13 PM, Walter Lee Davis wa...@wdstudio.comwrote: I've looked through the API a couple of different times, and I can't see a way

Re: [Proto-Scripty] problem with autocomplete on chrome v 33

2014-03-17 Thread Jason Westbrook
that fixes this problem and several others Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Mar 17, 2014 at 2:40 PM, gjergj sheldija gjergj.sheld...@gmail.comwrote: hi all, i have the following code : input type=text id=search name=search / div id=hint/div

Re: [Proto-Scripty] Show of hands

2014-01-03 Thread Jason Westbrook
components https://github.com/jwestbrook/bootstrap-prototype I've also taken some of the libraries on scripteka that seem to either be missing or outdated and have re-hosted them on my github so they dont get lost. Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Jan 3, 2014 at 8:45

Re: [Proto-Scripty] Re: Need Help With Prototype Selectors API

2013-07-16 Thread Jason Westbrook
If you want to select any elements that are child of a specific element you can do so like this $('myparentelement').select('span'); will select all spans that are children of the element with id myparentelement Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Jul 16, 2013

Re: [Proto-Scripty] Prototype Documentation

2013-06-28 Thread Jason Westbrook
Hi Marco There is nothing official other than those 2 pages - however there are plenty of examples that the community has written all over Stack Overflow http://stackoverflow.com/questions/tagged/prototypejs Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Jun 24, 2013 at 6

Re: [Proto-Scripty] Function.bind() performance vs native

2013-06-03 Thread Jason Westbrook
Chrome on OSX with Prototype winning as well - I was just curious as to why the native implementation is slower than the Prototype implementation? Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Jun 3, 2013 at 5:06 PM, Walter Lee Davis wa...@wdstudio.com wrote: I believe

Re: [Proto-Scripty] Help system

2013-05-30 Thread Jason Westbrook
If you want to use tooltips or popovers you could use the PrototypeJS Twitter BootStrap tooltips or popovers https://github.com/jwestbrook/bootstrap-prototype Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, May 30, 2013 at 3:28 PM, Walter Lee Davis wa...@wdstudio.comwrote: I

Re: [Proto-Scripty] IE7

2013-05-12 Thread Jason Westbrook
var cont=$('div'); var t=new Element('table',{'width':'200px'}); var tr=new Element('tr'); var td=new Element('td').update('hello'); tr.insert(td) t.insert(tr); cont.insert(t); /script Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sat, May 11, 2013 at 10:36 AM, Александр

Re: [Proto-Scripty] Draggables inside div with overflow:scroll

2013-05-07 Thread Jason Westbrook
with the changes I've suggested http://jsfiddle.net/nB8PC/3/ take a look and see if that works for you Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, May 7, 2013 at 4:30 AM, ayson...@gmail.com wrote: I have created two divs. One is for draggable objects. Another for the area

Re: [Proto-Scripty] Has anyone run into a problem with using Imagemapster?

2013-05-05 Thread Jason Westbrook
to be pointing to jQuery - all you need to to is replace the $() with jQuery() and then it should work Let me know if you need anymore help Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, May 5, 2013 at 3:37 PM, Erik Sjaastad spudlo...@gmail.com wrote: Hi! Very happy to have found

Re: [Proto-Scripty] determine if any of checkbox[] is checked

2013-04-01 Thread Jason Westbrook
)//but I'm not sure how Sizzle will handle the bracket in the name or $(input[name^='kitcat']:checked) //this is probably more safe but it will match more elements as it gets all elements that have a name attribute that starts with kitcat (starts with is ^= instead of =) Jason Westbrook | T

Re: [Proto-Scripty] determine if any of checkbox[] is checked

2013-04-01 Thread Jason Westbrook
= $$(elmName).any(function(n) { return n.checked; }); anychecked will be true or false Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Apr 1, 2013 at 10:49 AM, Phil Petree phil.pet...@gmail.com wrote: // this works with names that contain spaces and arrays

Re: [Proto-Scripty] determine if any of checkbox[] is checked

2013-03-31 Thread Jason Westbrook
Try adding a separate class to all of your checkboxes that are in the group and then do this if( $$('.groupchecks:checked').length == 0 ) { //no checked checkboxes { Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Mar 31, 2013 at 8:30 AM, Phil Petree phil.pet...@gmail.com

Re: [Proto-Scripty] Form Validator

2013-03-26 Thread Jason Westbrook
I usually home brew one that looks for the required class and then adds an error class to that element and then at the end of the function test if there are 0 elements with the error class Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Mar 26, 2013 at 9:33 AM, Phil Petree

Re: [Proto-Scripty] color swatch selector

2013-03-21 Thread Jason Westbrook
Sorry then I misunderstood where the CSS was being applied - yes the radio input does get the pseudo class but not the parent elements Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Mar 21, 2013 at 11:40 AM, Walter Lee Davis wa...@wdstudio.comwrote: Really? Can you show

Re: [Proto-Scripty] Re: How to prevent doubleclicking on links

2013-03-15 Thread Jason Westbrook
the handler Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Mar 15, 2013 at 4:38 AM, Maciej Zaleski mzjadame...@gmail.comwrote: Ok, seems to be fixed in about 80%. I added line ondblclick = javascript:location.reload() to my div, and every time user

Re: [Proto-Scripty] AutoComplete

2013-03-14 Thread Jason Westbrook
Hey Walter - I don't think that Miguel is using Scriptaculous Autocomplete, as I can't find the code snippet in the emails - plus I use Scriptaculous Autocomplete with some of my production sites with latest PrototypeJS Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Mar 14

Re: [Proto-Scripty] .morph has stopped working - it now says Object [object Object] has no method 'morph'

2013-03-14 Thread Jason Westbrook
loading it twice will give you problems Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Mar 14, 2013 at 9:28 AM, Walter Lee Davis wa...@wdstudio.comwrote: On Mar 14, 2013, at 7:58 AM, Gretsch wrote: My code used to work, but now the .morph no longer works - in the chrome

Re: [Proto-Scripty] AutoComplete

2013-03-13 Thread Jason Westbrook
Are you set against using the Autocomplete in Script.aculo.us? http://madrobby.github.com/scriptaculous/ajax-autocompleter/ It works with the latest PrototypeJS and Script.aculo.us is probably already loaded on your site if you are using any of the effects Jason Westbrook | T: 313-799-3770

Re: [Proto-Scripty] Element.setValue() doesn't work with the output tag

2013-03-06 Thread Jason Westbrook
://github.com/sstephenson/prototype/pull/97 Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Mar 6, 2013 at 9:54 AM, Phil Petree phil.pet...@gmail.com wrote: Not sure what you're expecting but under ie 9, neither worked for me... not even in compatibility mode. On Wed, Mar 6, 2013

Re: [Proto-Scripty] Copying border styles: a tale of two browsers

2013-03-01 Thread Jason Westbrook
you tried to use http://api.prototypejs.org/dom/Element/prototype/getLayout/ ? Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Mar 1, 2013 at 4:42 PM, Walter Lee Davis wa...@wdstudio.com wrote: Try this example in Safari, Chrome, and Firefox, latest versions. Please let me

Re: [Proto-Scripty] Limit number of draggables

2013-02-25 Thread Jason Westbrook
need one Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Feb 25, 2013 at 7:29 AM, Jeff Hight j...@jeffhight.com wrote: Could someone shoot me a quick example of how to limit the number of draggables a droppable can contain to just one? Thanks! jH -- You received

Re: [Proto-Scripty] PeriodicalExecuter and Ajax calls

2013-02-17 Thread Jason Westbrook
fired - but if the interval is fired again while the ajax request is still running you get stacked requests or a race condition. So instead PeriodicalExecuter will prevent that from happening and handle the interval firing Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Feb 17

Re: [Proto-Scripty] document.viewport IE in Quirks mode

2013-02-06 Thread Jason Westbrook
Try this http://stackoverflow.com/questions/623047/how-to-detect-render-mode-of-browser-for-current-page Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Feb 6, 2013 at 7:50 AM, kstubs kst...@gmail.com wrote: When I do this: document.viewport.getDimensions() I get 0

Re: [Proto-Scripty] scripty inplace editor

2013-01-28 Thread Jason Westbrook
No problem - I have a grid of inplaceeditor's running about 60 instances on one page so it took a few trys to make it work like I needed Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Jan 28, 2013 at 6:28 AM, Phil Petree phil.pet...@gmail.com wrote: Jason, ended up

Re: [Proto-Scripty] scripty inplace editor

2013-01-27 Thread Jason Westbrook
-duplicates-on-update/14313622#14313622 Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Jan 27, 2013 at 3:24 PM, Phil Petree phil.pet...@gmail.com wrote: Thanks Walter. I tried that already and found the editor to be essentially disabled (you could click but not get the form

Re: [Proto-Scripty] Toggle opacity

2013-01-23 Thread Jason Westbrook
Instead of running each() on each element to run the Effect take a look a Effect.multiple() http://madrobby.github.com/scriptaculous/effect-multiple/ it will do the heavy lifting for you and makes the code more readable Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 23

Re: [Proto-Scripty] Ajax CORS error message

2013-01-16 Thread Jason Westbrook
In the latest DEV version hosted on github you can remove the X-* HTTP headers that PrototypeJS puts into the AJAX requests that make the CORS pre-flight requests fail. Check out this pull request https://github.com/sstephenson/prototype/pull/88 Jason Westbrook | T: 313-799-3770 | jwestbr

Re: [Proto-Scripty] Ajax CORS error message

2013-01-16 Thread Jason Westbrook
did you also set the headers in the Ajax.Request object to null ie new Ajax.Request('/your/url',{ 'requestHeaders' : { 'X-Requested-With' : null, 'X-Prototype-Version' : null}}); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 16, 2013 at 5:42 PM, Dave Lazar hunkyb

Re: [Proto-Scripty] multipart/form-data upload via ajax

2013-01-09 Thread Jason Westbrook
file_get_contents(php://input); to get the contents of the file and the filename will be $_GET['filename'] Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 9, 2013 at 12:27 PM, fntzr fantaz...@gmail.com wrote: It not possible, use Flash Uploader for it, for example http

Re: [Proto-Scripty] multipart/form-data upload via ajax

2013-01-09 Thread Jason Westbrook
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 9, 2013 at 12:55 PM, Walter Lee Davis wa...@wdstudio.comwrote: On Jan 9, 2013, at 3:45 PM, Jason Westbrook wrote: It is possible but you have to realize it will only work on browsers that have the FileAPI available

Re: [Proto-Scripty] Prototype Fade Code Not Working in IE10

2013-01-06 Thread Jason Westbrook
it out Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sat, Jan 5, 2013 at 11:20 AM, Alan Owen hermonscho...@gmail.com wrote: Hi! I apologize if i'm vague in my message as I'm not really a programmer. I am running a website at http://www.mariyalivchikova.com . The page here

Re: [Proto-Scripty] Re: Future of Prototyp.js

2012-12-31 Thread Jason Westbrook
I was able to dig this one out of archive.org and I rewrote it a bit - added a jsfiddle so that people can play with it etc https://github.com/jwestbrook/Prototype.3DImageReflection Just look at all of my github repos - they are all PrototypeJS libraries Jason Westbrook | T: 313-799-3770

Re: [Proto-Scripty] find parent element

2012-12-16 Thread Jason Westbrook
that is returned and do the specified method on those items Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Dec 16, 2012 at 9:45 AM, Laurent Barre houpde...@gmail.com wrote: Hi, I have : nav id=navigation role=navigation ul id=menu role=menubar li title=Hello World

Re: [Proto-Scripty] Disable keyup event on CTRL+ click

2012-12-14 Thread Jason Westbrook
This might help http://www.w3schools.com/jsref/event_ctrlkey.asp Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Dec 13, 2012 at 11:43 AM, kstubs kst...@gmail.com wrote: Does anyone know how to disable or stop and bound keyup event method when the CTRL key is depressed

Re: [Proto-Scripty] Google+ Group Created

2012-12-14 Thread Jason Westbrook
Also its a great way to show that prototypejs has an active community and members that are willing to help coders that are new to prototype Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Dec 14, 2012 at 9:55 AM, Joseph Spandrusyszyn illand...@illandril.net wrote: You can

Re: [Proto-Scripty] Help sizzle select

2012-12-14 Thread Jason Westbrook
of this is what I meant Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Dec 14, 2012 at 1:10 PM, kstubs kst...@gmail.com wrote: I have this $('logins').select('li[class=\'' + group + '\']').invoke('show'); This seems to be matching on an exact class name though, but I have

Re: [Proto-Scripty] Return in Ajax.Request, I don't know how to do it

2012-12-09 Thread Jason Westbrook
make sense Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Dec 9, 2012 at 3:40 PM, Laurent Barre houpde...@gmail.com wrote: Hi, I have a function : request:function (object) { var chaine = var param = {; for (var i = 0; i object.param.length; i

Re: [Proto-Scripty] Re: Future of Prototyp.js

2012-12-02 Thread Jason Westbrook
I'm actually planning on taking whatever is still available on scripteka and rehosting it on github so that others can find it, see examples of it working, post issues and comment on the scripts Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sat, Dec 1, 2012 at 7:21 AM, kstubs kst

Re: [Proto-Scripty] Add element but it's a group of elements

2012-11-09 Thread Jason Westbrook
$('test').insert(a); // will try and add that content as the content of that input (which you don't want) $('test').insert({after:a}); //will insert that content AFTER the specified element Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Nov 9, 2012 at 3:15 PM, Laurent Barre

Re: [Proto-Scripty] Toggle

2012-11-06 Thread Jason Westbrook
Can you provide a code snippet, jsfiddle or a publicy viewable page? also make sure that the CSS is not setting the display:none on that element as Prototype/Scriptaculous will not override the display style Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Nov 6, 2012 at 11:39

Re: [Proto-Scripty] Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Jason Westbrook
If $(id) returns null (like in this instance) then the id does not exist on the page This might be handled better using a class on each of the panels and simply holding which is the open/minimized index that way you don't have to worry about what ids exist Jason Westbrook | T: 313-799-3770

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Jason Westbrook
(system+t,U); } Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Oct 15, 2012 at 4:32 PM, Peter Sysko petersy...@gmail.com wrote: Thanks for the suggestion, Jason. Most people don't run into this problem because they do not deal with dynamically assigned div ids from javascript

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Jason Westbrook
to be clear - the example I put is not a javascript array but a Prototype Hash you should be able to do the same thing with a javascript array though Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Oct 15, 2012 at 5:25 PM, Peter Sysko petersy...@gmail.com wrote: whoa i had

Re: [Proto-Scripty] Form submit bubble

2012-09-26 Thread Jason Westbrook
my interpretation of the documentation is as follows if that is inside a class then you might have to use bind to make sure that this still refers to your class instance - vs this would refer to the element the event was fired on Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com

Re: [Proto-Scripty] Re: Prototype's selector as well as eq in Jquery

2012-09-25 Thread Jason Westbrook
nth-child doesnt work in Internet Explorer CSS - can Prototype correctly decode that in IE? Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Sep 24, 2012 at 9:55 AM, Victor vkhomyac...@gmail.com wrote: $(#table-id td:nth-child(2)) will select 2nd cells in all rows of table

Re: [Proto-Scripty] Prototype's selector as well as eq in Jquery

2012-09-23 Thread Jason Westbrook
You could probably also use $$('td .yui-dt-liner div[id^=yui-gen]')[2].setStyle('width:122px'); for individual calls - but if you are going through multiple elements I would use each as Walter described Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Sep 23, 2012 at 3:19 PM

Re: [Proto-Scripty] Any reason why this might not work?

2012-08-09 Thread Jason Westbrook
I agree that some code is not always written like that - but I've had many instances where a javascript block would work in modern standards compliant browsers yet fail silently in IE until I put quotes in, single or double. Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Aug

Re: [Proto-Scripty] Any reason why this might not work?

2012-08-07 Thread Jason Westbrook
Internet explorer doesn't like object definitions without quotes around the names if(typeof Element.store == 'undefined'){ Element.addMethods({ store: function(elm, k, v){ elm[k] = v; }, retrieve: function(elm, k){ return (elm[k]); } }); } Jason Westbrook | T

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jason Westbrook
that it would work - let me know if this makes sense http://jsfiddle.net/FPBkA/ Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Jul 27, 2012 at 7:46 AM, Phil Petree phil.pet...@gmail.com wrote: then perhaps we're not understanding what you mean by passed normal process

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jason Westbrook
Phil setting the content of an element via the innerHTML property was deprecated for the $(elmentid).update(content) function. Or by using the $(elmentid).insert(content) function if appropriate. Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Jul 27, 2012 at 1:19 PM, Phil

Re: [Proto-Scripty] Confirm() happening twice on click.

2012-07-11 Thread Jason Westbrook
can you either post the HTML that you are using or post the url where it is located publicly? you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', confirmDelete); } ); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11

Re: [Proto-Scripty] Confirm() happening twice on click.

2012-07-11 Thread Jason Westbrook
I don't see any problems with the HTML elements and to answer your question the observe method identifies the function as the handler and passes the event object to the handler and you can get the javascript to one line if you want $$(td a.delete).invoke(observe,click,confirmDelete); Jason

Re: [Proto-Scripty] Confirm() happening twice on click.

2012-07-11 Thread Jason Westbrook
Honestly I'm not exactly sure there is a possibility that the observe method was calling confirmDelete instead of just tagging it as the event handler Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 12:06 PM, thinsoldier thinsold...@thinsoldier.comwrote

Re: [Proto-Scripty] local autocompleter and event.observe

2012-07-02 Thread Jason Westbrook
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Jul 2, 2012 at 9:55 AM, charles.desfor...@orange.fr charles.desfor...@orange.fr wrote: Hi I am new on prototype and scriptaculos then I have a basic problem I guess. I try to catch through a handler the value selected

Re: [Proto-Scripty] Solved -- Re: Sortable with addtional droppable

2012-06-14 Thread Jason Westbrook
FWIW there are still plenty of users that are still using Prototype Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Jun 14, 2012 at 1:04 PM, JJD johnjdev...@gmail.com wrote: Whoops. Sorry to waste your time... The error was in the onDrop callback

Re: [Proto-Scripty] Please remove me from your mailing list.

2012-06-08 Thread Jason Westbrook
Hi Suresh you can unsubscribe at any time by sending an email to prototype-scriptaculous-unsubscr...@googlegroups.com Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Mon, Jun 4, 2012 at 5:53 PM, suresh V R sur...@gmail.com wrote: Hi, Please remove me from your mailing list

Re: [Proto-Scripty] IE8 error, line 5974 - Object doesn't support this property or method

2012-06-08 Thread Jason Westbrook
of elements with that classname in the entire DOM if you need to select all elements that are children of a certain node $(element).select(.classname) will do that Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Jun 8, 2012 at 12:51 AM, nbezzala nbezz...@gmail.com wrote: I am

Re: [Proto-Scripty] Re: uploading a file to a server.

2012-05-16 Thread Jason Westbrook
will not work with IE - works in Firefox/Chrome/Safari though Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, May 16, 2012 at 11:48 AM, Marty Amberg mar...@edenstreet.comwrote: Thanks Jason Will give it a shot. A example would be great, On 5/13/2012 12:32 AM, Jason wrote