I think I and also other frameworks are using similar methods to the prototype library from script.aculo.us. Some are a little bit different because they have still bugs inside, others are 100% the same. You can have a look at the Atlas client-side script framework which have those methods, too.
Regards, Michael On 4/26/06, mrbester <[EMAIL PROTECTED]> wrote: > > Something I've noticed for a while is that the first example (select an > option, click "Submit" and it gets returned to you from the server) > does not work in Firefox (1.5.0.2) as the POST content does not contain > the altered HTML for the selectbox, merely the initial HTML. It would > appear that either the GetSelectedValues function is not picking up the > selected items or (more likely) the .innerHTML for the <select> does > not contain the selected attribute(s) on the items in question. As the > first argument is a reference to the object's .innerHTML, would it not > be better to simply pass the reference to the _object_ and iterate > through the items looking for the selected item(s) on the client and > passing that as the payload? > > In addition, an annoying warning appears every time a function is > invoked saying that this.arguments is deprecated (which it is). This > ties into the Function.getArguments method which could possibly be > circumvented by replacing (for example): > this.GetSelectedValues.getArguments().slice(1) > with: > Array.prototype.slice.call(arguments,1) > in the generated class code. > > WRT the server emitted prototype.js: Is this an absolute subset of > prototype <insert version here> or just selected bits? I'd really like > to be able to incorporate the full functionality of prototype and > script.aculo.us effects (and behaviour.js for that matter) through my > own controls with the required javascript emitted by the server as > AjaxPro does without excess code being sent to the client. > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
