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

2015-04-23 Thread Phil Petree
I'm sooo old... I use pspad (and have for 10 years)... it's way more advanced than edlin (joke). I really need to update to a modern editor with php on my laptop so I'd be curious as to how everyone has their systems configured. On Thu, Apr 23, 2015 at 11:00 AM, Alastair Young

Re: [Proto-Scripty] Show of hands

2014-01-03 Thread Phil Petree
Ive not done any new work since http://www.presspeek.com but im still using prototype. On Jan 3, 2014 9:01 AM, Walter Lee Davis wa...@wdstudio.com wrote: It's been mighty quiet here, and I'm wondering if everyone just knows how to use Prototype, and doesn't have any questions, or if you've all

Re: [Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread Phil Petree
Php on the back end? What headers are you sending back? On Nov 24, 2013 7:53 AM, blumus leiman.bar...@gmail.com wrote: Hi: I'm a newbie to html, js and protype.js. I've written a small script to try out Ajax.request. $(sendFormSimple) .observe(

Re: [Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread Phil Petree
Let me fire up my laptop and look at some code I have... I'm returning xml and it seems there was something I had to do differently but I don't recall what (or if) it was... On Nov 24, 2013 9:00 AM, blumus leiman.bar...@gmail.com wrote: Using Java *Here is the header code from Java* public

Re: [Proto-Scripty] addClassName and removeClassName donĀ“t work

2013-07-17 Thread Phil Petree
I will add this... updating prototype, in my experience, has minimal side affects and most of those are actually positive. On Jul 17, 2013 6:22 PM, Joseph Lust lifeofl...@gmail.com wrote: Wow. I wonder why it just this minute came up for moderation? That's Google Groups for you... Just ran

Re: [Proto-Scripty] Prototype Documentation

2013-06-28 Thread Phil Petree
What question do you have (notice how I'm creating work for others? )? On Jun 28, 2013 10:44 AM, Jason Westbrook jwestbr...@gmail.com wrote: 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

[Proto-Scripty] Uhh... is this a bug?

2013-06-09 Thread Phil Petree
show()/hide() Set the style inline with style=display:none and show/hide works but set the style in css and all of a sudden it doesn't work. http://jsfiddle.net/ppetree/pA5eN/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To

Re: [Proto-Scripty] Uhh... is this a bug?

2013-06-09 Thread Phil Petree
This just seems really, really odd... THATS where they decide to draw the line? LOL Finally working on that context sensitive help system, will post it later today. On Jun 9, 2013 12:56 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Jun 9, 2013, at 12:43 PM, Phil Petree wrote: show

Re: [Proto-Scripty] Uhh... is this a bug?

2013-06-09 Thread Phil Petree
That's when you add a flag that when true includes CSS... I mean if the whole point of using a framework is for simplicity that would surely cover it. On Jun 9, 2013 1:07 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Jun 9, 2013, at 12:59 PM, Phil Petree wrote: This just seems really

Re: [Proto-Scripty] Help system

2013-06-09 Thread Phil Petree
Here's what I've come up with on the context sensitive help system (thanks to a few tips from Walter). I'm not crazy about the idea of having to include the hidden modalWindow on each page that uses the help but I found it much simpler than doing it all inline (maybe that's just my lacko skill set

Re: [Proto-Scripty] Help system

2013-06-09 Thread Phil Petree
); $(document.body).insert( mhw); }); might want to inline all of the css on the shell div parts. On 6/9/2013 2:03 PM, Phil Petree wrote: Here's what I've come up with on the context sensitive help system (thanks to a few tips from Walter). I'm not crazy about the idea of having to include

Re: [Proto-Scripty] Help system

2013-05-31 Thread Phil Petree
in a data-attribute. That depends on how much content there would be. It would be completely instantaneous. Walter On May 30, 2013, at 2:24 PM, Phil Petree wrote: I'll play around with it on Sunday and see what I can cobble together... of course it looks like you did most of the work in 5

[Proto-Scripty] Help system

2013-05-30 Thread Phil Petree
Has anyone developed an inline help system? Am I barking up the wrong tree or is there an easier way to do this? Ideally we could just drop the div in anywhere we wanted, the help icon would always float to the right of the label/input and when the user clicked the help icon we'd get a context

Re: [Proto-Scripty] Help system

2013-05-30 Thread Phil Petree
to make this possible, the bulk of this effort would probably go into the CSS to style your tooltips. On May 30, 2013, at 11:30 AM, Phil Petree wrote: Has anyone developed an inline help system? Am I barking up the wrong tree or is there an easier way to do this? Ideally we could just drop

[Proto-Scripty] finding all tr's within a div

2013-05-17 Thread Phil Petree
I'm expanding the table row highlighting ya'll helped me with before. Now I have two tables on a page and each table has rows that I want to highlight on mouseover. Can't give the tables the same id so what I was doing was creating a div with a class: table class='blah' id='blah' ... trthCol

Re: [Proto-Scripty] finding all tr's within a div

2013-05-17 Thread Phil Petree
: On May 17, 2013, at 12:19 PM, Phil Petree wrote: I'm expanding the table row highlighting ya'll helped me with before. Now I have two tables on a page and each table has rows that I want to highlight on mouseover. Can't give the tables the same id so what I was doing was creating a div

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

2013-05-08 Thread Phil Petree
Neither the original example or Jasons worked in IE9 with or without compatibility view On Tue, May 7, 2013 at 8:48 PM, ayson...@gmail.com wrote: Thank you both! I will give it a try. The example in jsfiddle is basic. I have more functionality in my actual script and will look how the solution

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

2013-04-01 Thread Phil Petree
']: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: 313-799-3770 | jwestbr...@gmail.com On Sun, Mar 31, 2013 at 11:46 AM, Phil Petree

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

2013-04-01 Thread Phil Petree
| jwestbr...@gmail.com On Mon, Apr 1, 2013 at 10:49 AM, Phil Petree phil.pet...@gmail.comwrote: // this works with names that contain spaces and arrays[]... Validation.add('validate-one-array', 'Error message text', function(value, element) { var elmName = input:checkbox[name=' +element.name

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

2013-03-31 Thread Phil Petree
Happy Easter! I have an array of checkboxes on a form (about 15 of them) arranged in rows like this: trtdinput type='checkbox' name='kitcat[]' .../tdtdname/tdtddescription/td/tr What I have been trying to use is this: $(input:checkbox[name=kitcat]:checked).each(function() { // if one is

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

2013-03-31 Thread Phil Petree
-3770 | jwestbr...@gmail.com On Sun, Mar 31, 2013 at 8:30 AM, Phil Petree phil.pet...@gmail.comwrote: Happy Easter! I have an array of checkboxes on a form (about 15 of them) arranged in rows like this: trtdinput type='checkbox' name='kitcat[]' .../tdtdname/tdtddescription/td/tr What I

Re: [Proto-Scripty] Form Validator

2013-03-27 Thread Phil Petree
On Tue, Mar 26, 2013 at 9:33 AM, Phil Petree phil.pet...@gmail.comwrote: Has anyone found a good form validator? I have been using the one by Andrew Tetlaw for several years and its worked really well but now with proto 1.7 and ie 9 I'm finding it no longer works (as in it doesn't see select

[Proto-Scripty] Form Validator

2013-03-26 Thread Phil Petree
Has anyone found a good form validator? I have been using the one by Andrew Tetlaw for several years and its worked really well but now with proto 1.7 and ie 9 I'm finding it no longer works (as in it doesn't see select where no option has been chosen. i.e.

Re: [Proto-Scripty] color swatch selector

2013-03-25 Thread Phil Petree
You guys are the best! Walter, I would have never thought of using radio buttons but I bet that's what they do on the clothing sites where you can pick different shirt/pant/shoe colors... they all work like yours does so I'll implement it the way you did. Should work perfectly. Thanks for the

Re: [Proto-Scripty] color swatch selector

2013-03-21 Thread Phil Petree
, at 3:12 PM, Phil Petree wrote: I want users to be able to pick from one of 6 colors for a folder (like a file folder). At first I thought about doing this as a selectoption value='color_blue' style='background-image: url(blue.png);'/option But I'm discovering this will really only render

[Proto-Scripty] color swatch selector

2013-03-20 Thread Phil Petree
I want users to be able to pick from one of 6 colors for a folder (like a file folder). At first I thought about doing this as a selectoption value='color_blue' style='background-image: url(blue.png);'/option But I'm discovering this will really only render well in firefox... Has anyone

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

2013-03-06 Thread Phil Petree
Not sure what you're expecting but under ie 9, neither worked for me... not even in compatibility mode. On Wed, Mar 6, 2013 at 11:20 AM, Walter Lee Davis wa...@wdstudio.comwrote: Have a fiddle: http://jsfiddle.net/ZYDjc/ Any thoughts? Should I raise a ticket? Thanks, Walter -- You

Re: [Proto-Scripty] How to pass parameter from prototypejs client to rest web service

2013-02-14 Thread Phil Petree
Try name=appleprice=1.00 On Feb 14, 2013 8:14 AM, Sakthi Dasan shakthyd...@gmail.com wrote: I have a rest web service like @Path(/postItem)@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })public Item postItem(@QueryParam(name) String name, @QueryParam(price) String

Re: [Proto-Scripty] How to pass parameter from prototypejs client to rest web service

2013-02-14 Thread Phil Petree
The parameters are passed but only the first one because you either have to serialize the data or build your own serialized string. If you want just a few fields and your form contains many more than that you can build your own like this: parameters: 'name='+escape($F('idName'))

Re: [Proto-Scripty] scripty inplace editor

2013-01-28 Thread Phil Petree
answered a similar question in more depth on StackOverflow http://stackoverflow.com/questions/14306045/codeigniter-script-aculo-us-inplaceedit-produces-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

[Proto-Scripty] scripty inplace editor

2013-01-27 Thread Phil Petree
Hi All! I'm implementing the scriptaculous inplace editor and I have it working except for one small detail: If I activate the editor, click cancel, activate the editor again I get two inplace editors. cancel those and activate again and I get three. cancel those and activate again and I get

Re: [Proto-Scripty] scripty inplace editor

2013-01-27 Thread Phil Petree
Thanks Walter. I tried that already and found the editor to be essentially disabled (you could click but not get the form). On Jan 27, 2013 6:14 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Jan 27, 2013, at 4:10 PM, Phil Petree wrote: Hi All! I'm implementing the scriptaculous

Re: [Proto-Scripty] scripty inplace editor

2013-01-27 Thread Phil Petree
Yes, multiple instances are being created. Your stackoverflow solution doesn't work for me. The elements to be inplace edited don't exist when the dom is loaded and may not ever exist. I'm using a tab control, when the tab is activated an ajax call is made and some html is returned. In this

Re: [Proto-Scripty] Re: Object doesn't support property or method but then kinda works...

2013-01-17 Thread Phil Petree
Hi Greg! Thanks for looking at this... Turns out that if I remove the submit handler from the wizard class and stop trapping the submit button it works just fine... Not sure why this oddity is but it is and it works... P~ On Wed, Jan 16, 2013 at 8:57 PM, greg i...@wildanimaltracks.com wrote:

[Proto-Scripty] Object doesn't support property or method but then kinda works...

2013-01-15 Thread Phil Petree
I'm working on submitting a form using a hidden iFrame target... inside the wizzard class the f.submit(); throws the method error but as soon as you step over it in the debugger it calls the forms processor and the form data is processed. If you ignore the error in normal browser mode I get an

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

2013-01-10 Thread Phil Petree
I think the keyhole method seems to be the best mechanism. I'll play around with the callback for a bit and see what I can cobble together. My overall problem is, the user is creating a folder and I want to make adding the initial contents as easy as possible... in other words, I don't want the

Re: [Proto-Scripty] highlighting a tablerow

2013-01-03 Thread Phil Petree
-alone document first to check. Dave On 1 January 2013 22:53, Phil Petree phil.pet...@gmail.com wrote: I have an empty div that gets an ajax result that contains a table which looks like this: HTML: table class='form' id='mail' width='100%' border='1' tr thSubject:/th

Re: [Proto-Scripty] highlighting a tablerow

2013-01-03 Thread Phil Petree
('removeClassName', 'over'); elm.addClassName('over'); }); $('mail').on('mouseout', 'tr', function(evt, elm){ rows.invoke('removeClassName', 'over'); }); On Thu, Jan 3, 2013 at 11:25 AM, Walter Lee Davis wa...@wdstudio.comwrote: On Jan 3, 2013, at 8:59 AM, Phil Petree wrote: $('mail

Re: [Proto-Scripty] highlighting a tablerow

2013-01-03 Thread Phil Petree
wa...@wdstudio.com wrote: On Jan 3, 2013, at 1:41 PM, Phil Petree wrote: Thanks Walter! I tried quite a few things... borrowed 1/2 dozen snippets from various places and nothing was working till yours. I still have one question, how do you undo (stopObserving) these events? When I

Re: [Proto-Scripty] highlighting a tablerow

2013-01-03 Thread Phil Petree
', ... and then you would only capture the tables that you had deliberately marked as being stripe-able. Or use the ID of that tab to scope the selection, or any other CSS tricks you can think of. It's a very flexible approach. Walter On Jan 3, 2013, at 4:48 PM, Phil Petree wrote: OK, I

Re: [Proto-Scripty] Re: AJAX Tabs Widget

2012-12-31 Thread Phil Petree
Victor, Thanks for the links... I'd already seen control.tabs and it doesn't appear to support ajax (if it does its not documented and the api makes no reference to it). The one on sourceforge appears to be a fork of the control.tabs and also I do see references to ajax in the source, it has no

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

2012-12-30 Thread Phil Petree
Amen... that would definately be a good move! There are a number of things on scripteka that are dead and gone (broken links) On Sun, Dec 30, 2012 at 5:37 PM, Victor vkhomyac...@gmail.com wrote: I'm actually planning on taking whatever is still available on scripteka and rehosting it on

[Proto-Scripty] Re: AJAX Tabs Widget

2012-12-28 Thread Phil Petree
there it was easy to supply an AJAX script which then worked just like an existing tab... actually pretty cool. On Fri, Dec 28, 2012 at 10:10 AM, Phil Petree phil.pet...@gmail.com wrote: Hi All! I'm now looking for/at tab controls that support ajax calls. The few that I've found are pretty static

Re: [Proto-Scripty] Anyone know of a good image scroller?

2012-12-27 Thread Phil Petree
. I've just updated to the latest. Walter On Dec 25, 2012, at 5:55 PM, Phil Petree wrote: On ie9. -- 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

Re: [Proto-Scripty] Anyone know of a good image scroller?

2012-12-25 Thread Phil Petree
agnese.camell...@gmail.com wrote: I got one example but it's orizontal scrolling: http://scripty.walterdavisstudio.com/ it's a repo of one other member of this list. Hope to help. Agnese 2012/12/22 Phil Petree phil.pet...@gmail.com I'm working on a site that needs to have some images (logos) from

Re: [Proto-Scripty] Anyone know of a good image scroller?

2012-12-25 Thread Phil Petree
cycle but this is good enough. On Tue, Dec 25, 2012 at 1:30 PM, Walter Lee Davis wa...@wdstudio.comwrote: On Dec 25, 2012, at 6:41 AM, Phil Petree wrote: Thanks for that pointer... but that's still not what I'm looking for (and Walter, if you're still haning out here, two of those demos

[Proto-Scripty] Anyone know of a good image scroller?

2012-12-22 Thread Phil Petree
I'm working on a site that needs to have some images (logos) from featured products scrolled vertically and the images should loaded via ajax. I've looked all over and not found anything using prototype... anyone have any suggestions? (looks like the prototype eco system is diminishing) -- You

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

2012-07-27 Thread Phil Petree
Try using the onsuccess on failure parameters in Ajax updater. onFailure: function() {alert(bombed);}, onSuccess: ... On Jul 27, 2012 12:04 AM, Jim Longo jimlong...@gmail.com wrote: If it helps, I can replace the js with something real simple (an alert) and it still won't run in the AJAX page.

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

2012-07-27 Thread Phil Petree
then perhaps we're not understanding what you mean by passed normal process is: onSuccess: call a function that processes the incoming data onFailure: tell the user what happened what gets passed is data. what gets called are functions. having code in an external file indicates to me you want

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

2012-07-27 Thread Phil Petree
Jim, Did Jason's code not work? And you're right, the examples and docs totally suck... it's like trying to decipher some secret code that someone forgot to let the rest of us normal programmers in on. The purpose of AJAX calls is to reduce bandwidth and server hits by reducing the number of

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

2012-07-27 Thread Phil Petree
'); $('my_div').innerHTML = h1AJAX Response/h1p +json.text +/p; } } On Fri, Jul 27, 2012 at 4:05 PM, Phil Petree phil.pet...@gmail.com wrote: Jim, Did Jason's code not work? And you're right, the examples and docs totally suck... it's like trying to decipher some secret code that someone forgot

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

2012-07-27 Thread Phil Petree
).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 Petree phil.pet...@gmail.comwrote: Jim, I shoulda put this in my last email... Here are two ways

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

2012-07-27 Thread Phil Petree
Westbrook | T: 313-799-3770 | On Fri, Jul 27, 2012 at 1:19 PM, Phil Petree wrote: Jim, I shoulda put this in my last email... Here are two ways to set the individual fields using prototype: $('my_div').innerHTML = szUpdate; $('my_form_field').value='what I want the value

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

2012-07-16 Thread Phil Petree
At least by half ;-) On Jul 16, 2012 11:59 AM, thinsoldier thinsold...@thinsoldier.com wrote: I've actually found the cause of my problem. Quite foolish of me. I had earlier experimented with having all my javascript after the footer of the page rather than in the head. So I had 2 instances

Re: [Proto-Scripty] Re: Image Uploader / Thumbnail creator

2012-07-11 Thread Phil Petree
Thin, Thanks, that's a really great find... I'll work on adding that in over the next week or so. Greg shared his image uploader (iframe) code and was very patient and helped me get that up and running... it was quite tricky as the json response to an iframe had some very unexpected results. We

[Proto-Scripty] Image Uploader / Thumbnail creator

2012-07-03 Thread Phil Petree
I've spent the last few hours looking all over google for a prototype ajax uploader and thumbnail creator and I'm coming up blank. Has anyone found anything usable (we only need to upload one image per user) or can you point me to some docs for this? Thanks. Pete -- You received this message

Re: [Proto-Scripty] Image Uploader / Thumbnail creator

2012-07-03 Thread Phil Petree
like to do those without some kicking and screaming. I find that it's easiest to create an iframe and post through that. The only trick then is to send the message back to the outer page that the upload is complete. Walter On Jul 3, 2012, at 1:51 PM, Phil Petree wrote: I've spent the last few

Re: [Proto-Scripty] Scriptaculous draggable JS links

2012-05-15 Thread Phil Petree
Best guess would be versioning... but regardless, link to the modules off of Google instead of locally. On May 15, 2012 8:29 AM, Robert shimield robs...@hotmail.co.uk wrote: Hi Ref: http://madrobby.github.com/scriptaculous/draggable/ My draggable script works fine when linking to

Re: [Proto-Scripty] Walter Lee Davis is now a moderator

2012-05-15 Thread Phil Petree
Couldn't have been a better choice! On May 15, 2012 8:51 AM, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, If you've been on the list for any time at all, you'll know Walter Lee Davis. :-) Walter was good enough to step forward to help with moderating the list, and we seem to have

Re: [Proto-Scripty] how to center ajax spinning icon

2012-05-09 Thread Phil Petree
/for an IE-only filter attribute you can use in those browsers. Walter On May 8, 2012, at 12:10 PM, Phil Petree wrote: Thanks... i was just getting ready to try this... On Tue, May 8, 2012 at 11:39 AM, Walter Lee Davis wa...@wdstudio.com wrote: Sorry, make that position: fixed (brain

Re: [Proto-Scripty] how to center ajax spinning icon

2012-05-09 Thread Phil Petree
, and each one would trigger the overlay while it was running. Note the use of defer inside these methods, you really need that in Firefox, maybe Safari, or the overlay will either never show, or never hide -- the page will just get stuck during the request. Walter On May 9, 2012, at 5:26 AM, Phil

[Proto-Scripty] how to center ajax spinning icon

2012-05-08 Thread Phil Petree
Lets say I have this div imbedded in my page: div id='systemWorking'img src='spinner.gif'Saving.../div And I have a list with 1000 entries and the user has scrolled down mid way... if I unhide the spinner using this: document.getElementById('inProgress').style.display = 'inline'; It shows

Re: [Proto-Scripty] how to center ajax spinning icon

2012-05-08 Thread Phil Petree
).hide();}); Then slave the show/hide to your Ajax methods, or use the technique outlined in the AjaxResponders docs to have one listener for all Ajax events: http://api.prototypejs.org/ajax/Ajax/Responders/ Walter On May 8, 2012, at 10:54 AM, Phil Petree wrote: Lets say I have

Re: [Proto-Scripty] how to center ajax spinning icon

2012-05-08 Thread Phil Petree
I'm completely daft when it comes to css... background: url(/images/working.gif) rgba(0,0,0,0.7); Doesn't get loaded in the page in ie9. On Tue, May 8, 2012 at 12:10 PM, Phil Petree phil.pet...@gmail.com wrote: Thanks... i was just getting ready to try this... On Tue, May 8, 2012 at 11:39

Re: [Proto-Scripty] stupid checkbox question

2012-04-28 Thread Phil Petree
That's what I thought too... but adding CB to the I'd name fixed it. On Apr 28, 2012 12:35 PM, T.J. Crowder t...@crowdersoftware.com wrote: On Friday, 27 April 2012 10:47:51 UTC+1, DaveK wrote: input type='checkbox' id='1' not a legal ID - must start with a letter That's no longer true

Re: [Proto-Scripty] stupid checkbox question

2012-04-27 Thread Phil Petree
Try it passing cb1 into a function as cbValue and then $(cbValue).checked... On Apr 27, 2012 1:46 AM, Wojtek Zadora woj...@studioatrium.pl wrote: Well, I tested it and in my case having input type=checkbox name=1 value=1 id=cb1 console.log($('cb1').checked); - returns false

Re: [Proto-Scripty] stupid checkbox question

2012-04-27 Thread Phil Petree
Dang it... I knew it had to be something stpid!!! LOL Thanks! Its 4a here, I'm gonna get some sleep. On Apr 27, 2012 4:10 AM, Wojtek Zadora woj...@studioatrium.pl wrote: $(cbValue).checked returns boolean (true|false) and you compare it to string: if( cbState == checked ) simply

Re: [Proto-Scripty] stupid checkbox question

2012-04-27 Thread Phil Petree
Well, that didn't work... input type='checkbox' id='1' name='approved' onclick=saveChange(1); checked='checked'/ select id='ajMode_1' name='mode' onchange=saveChange(1); option value='read_write' selected='selected'Send and Receive/option option value='read_only'Receive Only/option /select

Re: [Proto-Scripty] stupid checkbox question

2012-04-27 Thread Phil Petree
into the wee hours to see what was wrong. Thanks! On Fri, Apr 27, 2012 at 5:47 AM, Dave Kibble davekib...@gmail.com wrote: On 27 April 2012 09:12, Phil Petree phil.pet...@gmail.com wrote: Its 4a here, I'm gonna get some sleep. On 27 April 2012 10:04, Phil Petree phil.pet...@gmail.com wrote

[Proto-Scripty] stupid checkbox question

2012-04-26 Thread Phil Petree
How do you get the checked state of a single checkbox? $('cbID').checked doesn't work... also tried $F('cbID').checked in the following function, the alert comes back with undefined cdValue is the id of the checkbox... function saveChange(cbValue) { var strState; var cbState; // get

[Proto-Scripty] Tactical Advice: Many rows, one checkbox per row

2012-04-25 Thread Phil Petree
Hey All, My need is to create a easy approval process for what could be a handful of subscribers up to 1000's of subscribers. The idea thus far is to create a table that has (and needs) only a few columns of information: RecordID (hidden) | Approved [checkbox] | Subscriber Name (read_only

Re: [Proto-Scripty] Tactical Advice: Many rows, one checkbox per row

2012-04-25 Thread Phil Petree
Of *Phil Petree *Sent:* Wednesday, April 25, 2012 10:39 AM *To:* prototype-scriptaculous@googlegroups.com *Subject:* [Proto-Scripty] Tactical Advice: Many rows, one checkbox per row ** ** Hey All, My need is to create a easy approval process for what could be a handful

Re: [Proto-Scripty] Tactical Advice: Many rows, one checkbox per row

2012-04-25 Thread Phil Petree
solely for the addressee. Access to this e-mail by anyone else is unauthorized.* ** ** *From:* prototype-scriptaculous@googlegroups.com [mailto: prototype-scriptaculous@googlegroups.com] *On Behalf Of *Phil Petree *Sent:* Wednesday, April 25, 2012 2:01 PM *To:* prototype-scriptaculous

Re: [Proto-Scripty] Confused on setValue encoding

2012-03-05 Thread Phil Petree
just use: $('var_name').value = form_data_you_want; On Sun, Mar 4, 2012 at 8:01 PM, kstubs kst...@gmail.com wrote: Does setValue() encode in anyway the value you set on a form input? Specifically, I am setting a hidden form element. I seem to be getting mixed results and I have both

Re: [Proto-Scripty] Confused on setValue encoding

2012-03-05 Thread Phil Petree
$().value = is working across all browsers and versions on my site On Mar 5, 2012 10:19 AM, kstubs kst...@gmail.com wrote: Is this supported across all the browsers? I'm still hoping to get some input on the setValue method and the encoding that takes place behind the sheets. I'd like to use

Re: [Proto-Scripty] cant quite figure out how to process multiple forms to one processing script.

2012-02-03 Thread Phil Petree
Mobile phone answer: You can't have multiple forms with the same name on the same page. On Feb 3, 2012 6:17 AM, Thats Broken thats.bro...@gmail.com wrote: I have a case where i have a form repeated several times on a page, the goal is to be able to submit each form independently, using unique

Re: [Proto-Scripty] Re: Status of prototype

2012-01-07 Thread Phil Petree
I'm already doing 12 hour days x 7... I don't have time to get my own work done and no money to pay someone else to do it! LOL On Jan 7, 2012 4:32 AM, James Hargreaves james.hargrea...@gmail.com wrote: I wish I had time to commit... Apple, fancy sponsoring?! On 6 Jan 2012, at 19:09, T.J.

Re: [Proto-Scripty] Status of prototype

2012-01-06 Thread Phil Petree
Last I heard was the developer said it was still active but on a catch as catch can basis and then several other comments said it was dead. I have seen no forward movement so my plan became to continue using it as long as its still working but all new code is developed with an eye towards moving

Re: [Proto-Scripty] Re: IE8 + Prototype AJAX = HTTP Status 12019

2011-12-16 Thread Phil Petree
the requests and responses to see if there's a pattern to these seemingly intermittent errors, specifically request header content-length that doesn't match the request body length. Still, if anyone has any ideas or suggestions, I'd appreciate hearing from you. Thanks. On Dec 15, 1:55 pm, Phil Petree

Re: [Proto-Scripty] IE8 + Prototype AJAX = HTTP Status 12019

2011-12-15 Thread Phil Petree
I would try using a later version of proto on just that page. On Dec 15, 2011 1:43 PM, web_dev_ajax lily.o...@gmail.com wrote: I have a B2B web application that is developed on Struts JSP using Prototype JS library (version 1.4.0) for AJAX. I have a client running my application on IE8. She is

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-12-01 Thread Phil Petree
Hysterical!!! Thanks for that laugh!!! On Dec 1, 2011 9:01 AM, Victor vkhomyac...@gmail.com wrote: 1. Declaration with value assignment 2. Declare loop variables and cache length inside of for() - this can increase performance http://jsperf.com/caching-array-length/67 - caching length

Re: [Proto-Scripty] Re: mobile solution?

2011-11-19 Thread Phil Petree
Back in the beginning (we're talking the 80's here), I wrote my first piece of code in 8086 assember and I've migrated to C (had one of the original windows SDKs), C++, ASP, .NET over to PHP, javascript and prototype etc. I'm not generally the swiftest coder out there but given enough time I can

Re: [Proto-Scripty] Re: Prototype AJAX call IE6 - not working

2011-11-08 Thread Phil Petree
LOL i was sitting here with phone in hand, counting the lines and had just zeroed in on the same line when your answer came in. On Nov 8, 2011 5:38 PM, T.J. Crowder t...@crowdersoftware.com wrote: Hi, It would have been really helpful if you'd pointed out which line was line 37, since things

Re: [Proto-Scripty] Re: Form.Serialize returning nada

2011-10-27 Thread Phil Petree
obsolete attributes should be ignored. I used the form name attribute as a way of knowing which AJAX module to call on behalf of that form. That allows my dofill() to serve many forms. I've seen very few pages of any type that validates 100% and browsers accomodate this and that's one reason

Re: [Proto-Scripty] Rant - IE7 Sucks

2011-10-26 Thread Phil Petree
I'm not sure I understand, tell us again how you REALLY feel about IE7! LOL On Oct 25, 2011 11:23 AM, kstubs kst...@gmail.com wrote: I have spent days now (more than days really) trying to get my code to work in IE7. I'm about to say, * screw it, IE7 not supported *. I can't begin to explain

Re: [Proto-Scripty] Re: Form.Serialize returning nada

2011-10-25 Thread Phil Petree
Colin, thanks for taking the time to look. Yes, the form has some hidden fields with data (user must be logged in to access this particular form). I found the problem... fixed it about 8 minutes ago, had to update the entire site! The problem only surfaces under IE9. If you click into

[Proto-Scripty] Form.Serialize returning nada

2011-10-24 Thread Phil Petree
Hey All, Wierdness... I've not seen this before and I swear on my grandma's knickers this was working! function dofill(url) { var options = { method: 'post', parameters: $('myform').serialize(), onSuccess: fill_in, onFailure: ajax_err, on0: ajax_err }; new

Re: [Proto-Scripty] Silly Question

2011-10-11 Thread Phil Petree
I'm with you Richard. I have a hidden div that loads the spinner and in the AJAX onCreate I disable the form and unhide the div while in the onComplete I hide the div and enable the form. What I have found is that if the AJAX call starts and completes quickly then the spinner never gets

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Phil Petree
I never meant to imply that onComplete did the same thing as onSuccess, what I meant to state was that onComplete ALWAYS gets called last. onSuccess can always set a flag and onComplete can do the UI updates right before turning off the spinner. This is useful if you're experiencing those

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-29 Thread Phil Petree
This is an interesting problem... my first reaction is that you'd want to use onComplete to update the div's instead of onSuccess. Test this with a couple of alerts and see which one gets called first and which is last (just as onCreate is the first call, onComplete is the last). To my way if

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-29 Thread Phil Petree
trick of adding a random query string on to the end of the image url: http://www.somedomain.com/images/newname.jpg?id=random_number and since this will always generate a new url, the browser will refresh the image. On Thu, Sep 29, 2011 at 1:04 PM, Phil Petree phil.pet...@gmail.com wrote

Re: [Proto-Scripty] Re: Image cache problem with Ajax

2011-09-29 Thread Phil Petree
then... create new new Images() append to the div and finally add a query cheat link??? just a shot... best ncubica... On 29 sep, 13:28, Phil Petree phil.pet...@gmail.com wrote: I didnt address the caching because I had to look to see if I could find where I had saved this link off the last time I

Re: [Proto-Scripty] Re: Prototype's evolution

2011-09-02 Thread Phil Petree
I'm going to violate one of my personal rules about responding to posts when I have had a glass or two of wine (or, in this case, margharitas): What has been sticking in my head from Andrews response are these two phrases (in quotes): Prototype's development over the past few years has been

Re: [Proto-Scripty] help needed.

2011-08-21 Thread Phil Petree
They are using a script called simple-slide-show.js which is a rewrite of someone elses script. http://www.deepbluesky.com/blog/-/simple-slide-show-for-prototype-scriptaculous_38/ On Sat, Aug 20, 2011 at 11:09 AM, omer omerjaw...@gmail.com wrote: hi I really like scriptaclusous and I see it

Re: [Proto-Scripty] Re: Prototype's evolution

2011-08-18 Thread Phil Petree
, Phil Petree phil.pet...@gmail.com wrote: This is the same old discussion that's been going on for months and I wonder if it will ever get resolved to the satisfaction of those of us who use the tool to enhance our sites. From what I can tell, there seems to be an uber-geek philosophy

Re: [Proto-Scripty] Re: Prototype's evolution

2011-08-17 Thread Phil Petree
This is the same old discussion that's been going on for months and I wonder if it will ever get resolved to the satisfaction of those of us who use the tool to enhance our sites. From what I can tell, there seems to be an uber-geek philosophy of make it better and they will come and, to a degree

Re: [Proto-Scripty] how to implement move/shift left/right effect

2011-08-10 Thread Phil Petree
I looked at that once for a project I was working on.. they weren't really shifting left/right what they were doing was inserting a new listbox to the right of the previous box. So: listbox A has the drives and you click on one, you then insert another listbox B to the right of A and then use an

Re: [Proto-Scripty] Ajax onchange select

2011-07-30 Thread Phil Petree
I have found that you have to use post AND serialize your data in order to get it to work. function dofill(url) { var options = { method: 'post', parameters: $('myform').serialize(), // just serialize for the one item onSuccess: fill_in, onFailure: ajax_err, on0: ajax_err

Re: [Proto-Scripty] Re: Prototype's evolution

2011-07-26 Thread Phil Petree
The core devs need to appoint a Community Activist whose responsibility it is to build the community and who has the decision making authority to implement these changes without bugging the devs with all our needs. On Tue, Jul 26, 2011 at 1:42 PM, Jason jwestbr...@gmail.com wrote: So based on

Re: [Proto-Scripty] Re: Prototype's evolution

2011-07-15 Thread Phil Petree
I certainly have the resouces to host the forums and would have no problem in putting them up and maintaining them but it would take a consensus of the powers that be because if none of the guys that answer the majority of the questions are interested then it would just be like the french forums

  1   2   >