Hi There,
I just started with protype and am really liking the concept. I am
particularly using it to create my ajax requests to update my mysql DB
of form information. Previously i used AJAX xmlHTTPrequest through
creating the function myself. To conclude I had major cross-browser
issues. So
Hi,
I'm using prototype 1.6.0.2.
My page is generated by a cgi-bin program (a dll) on a IIS server.
It is encoded in Windows-1252 charset.
Users may both use Internet Explorer 6 or Mozilla Firefox browsers.
The page uses the Ajax.Request object in order to send a request to
the dll :
new
Hi,
Weird, in the space of just a few days we've now had three separate
threads on character encoding, more than we've had in several months.
Here are the other two threads:
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/06f7ab84ec0e7178
I suppose 'secid','Name' and 'cIns' are input elements from your
'trainingForm' form?
Why don't you use the serialize() method from the Form object in order to
send the parameters ?
*ie*:
var url = 'courseSecIdUpdate.php';
new Ajax.Request(url,
{
Hi Dave,
So in essence, you want to load a page (really a fragment of a page)
from the server into a container element and execute the scripts in
the page that comes back? Good news: You're working too hard. :-)
Prototype will do that for you if you set Ajax.Updater's evalScripts
option[1] to
@All:
You know how you plan to send a really brief, simple reply and things
just get out of hand? Apologies for the long post...
@RobG:
doSomething($('elID'))
I think he means using Prototype's element extensions (though I could
be mistaken). Naturally if you like, you can code your own
On Oct 21, 2008, at 4:59 PM, Justin Perkins wrote:
Hey man, you wanted an example and you got it.
I gave you an example of a typical Rails RJS response, which are
auto-generated from ruby-like code rather than written to leverage a
particular framework's callbacks, etc.
-justin
No
I see an error in your code which could have prevented it from working
at all; the ',' (comma) after the onSuccess function definition is
missing (happens to me all to frequently :)) - could that be the issue
or is it a typo?
I'd suggest you to use some kind of debugger for spotting that kind of
Hi Baglan,
I'm already doing that. However, in the server I must convert from one
charset to another programmaticaly.
The problem seems to be the use of encodeURIComponent function by
prototype:
Mozilla Developer Core Javascript
Hi,
// This kind of script WILL work if processed by Ajax.Updater:
[snip]
That’s a common trickster, biting beginners in the ankle. So watch
out!
Thanks for pointing that out. As far as I can tell, that part of the
page (for lurkers: it's a quote from the Ajax.Updater page) is
incorrect
(I'm resending my last message in plain text after viewing it on
google groups, which is in html and with formatting errors)
Hi Baglan,
I'm already doing that. However, in the server I must convert from one
charset to another programmaticaly.
The problem seems to be the use of
Hi Keith,
When you call Event#stopObserving, you have to use the exact same
handler that was used for Event#observe.
I have not tested it, but try something like this:
var myHandlerObj = {
handler: function(e) {
Event.stopObserving(this, 'click', myHandlerObj.boundHandler);
}
}
Keith Hughitt wrote:
Could anyone help tell me what I'm missing?
I could have sworn Prototype already had something like this (a
function that fires only once and then removes itself), but I couldn't
find it anywhere so I went about writing the code myself.
First I tried to do it by
A little late to this thread and maybe I missed something somewhere,
so please ignore me if I have, but without core support (or at least
mention of resources like this from the core prototype site) people
won't find these resources. It took me long enough to find scripteka
back in the day
Hi,
...without core support (or at least
mention of resources like this from the core prototype site) people
won't find these resources...
Oh, I don't know. Try googling prototype tip or prototype tips,
for instance. ;-) And that's after about a week. Give us some time,
and I figure we'll
Hi Friends,
I am using PrototypeJS for Portlets. I am able to make it work
fine ... I have a new requirement of maximising and minimising the
portlets. Can anyone help me out in this.?
URL for reference : http://blog.xilinus.com/2007/8/26/pr...e-portal-class
They have mentioned in that blog in
On Oct 7, 4:41 pm, kangax [EMAIL PROTECTED] wrote:
On Oct 7, 3:21 am, Roland [EMAIL PROTECTED] wrote:
Hi there,
I have this little function within my class:
var _setObservers = function(events, func, handle){
if(!events) return;
events = _getObservers(events);
You could fork the official scriptaculous git repository at github
(http://github.com/madrobby/scriptaculous/tree/master), patch it and
send a pull request to madrobby. I like your patch and would vote +1
if necessary :-)
On Oct 20, 3:00 pm, Jesper Rønn-Jensen [EMAIL PROTECTED] wrote:
Thanks
Hi Neil,
A normal loop looks something like this:
for (var i = 0; i searchTerms.length; i++) {
// Do something in the loop.
}
I've been trying out this highlighting script and it works OK. The
biggest problem seems to be that it doesn't highlight every instance
of the search terms. I'm
Agreed. :)
Best,
Tobie
On Oct 22, 9:34 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi,
...without core support (or at least
mention of resources like this from the core prototype site) people
won't find these resources...
Oh, I don't know. Try googling prototype tip or prototype tips,
On Oct 22, 9:48 am, Keith Hughitt [EMAIL PROTECTED] wrote:
Could anyone help tell me what I'm missing?
I could have sworn Prototype already had something like this (a
function that fires only once and then removes itself), but I couldn't
find it anywhere so I went about writing the code
Hi T.J,
I'm not able to use the AJAX.Updater because of policy regarding AJAX
requests require me to use another ajax. Suffice to say by the time I
see the response it's two strings one with HTML and one with
JavaScript.
Here is the path I followed to get where I'm at. The following sample
code
I have a page in IE in Intranet zone!:
html
body
input type=button value=button onclick=if (!window.dialogHeight)
{ window.showModalDialog('c:\\2.html', 'help:0;status:0;scroll:
0;center:1'); } else { window.open('c:\\2.html', '2html',
What should I say the users - in first windows Billy cears about you
invisible, but on 3th level his patience was broken - so lets go to
bet Billy! :)
On 23 окт, 02:42, buda [EMAIL PROTECTED] wrote:
I have a page in IE in Intranet zone!:
html
body
input type=button value=button
On Oct 22, 7:42 pm, buda [EMAIL PROTECTED] wrote:
I have a page in IE in Intranet zone!:
html
body
input type=button value=button onclick=if (!window.dialogHeight)
{ window.showModalDialog('c:\\2.html', 'help:0;status:0;scroll:
0;center:1'); } else { window.open('c:\\2.html', '2html',
On Oct 22, 3:34 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi,
...without core support (or at least
mention of resources like this from the core prototype site) people
won't find these resources...
Oh, I don't know. Try googling prototype tip or prototype tips,
for instance. ;-) And
26 matches
Mail list logo