Hi, I'm just new to the group - it is proper to ask support questions
here? I'm having trouble with dom:loaded on IE6, any ideas where to
look? Everything is fine on Firefox. Another area of trouble seems to
be on Safari (Windows) getting at selectors like $$
('table#tblTMRoster'). Again, any idea
Hello,
Is there any signs of having intellisense for prototype in Visual
Studio??...the same way it works for Jquery??
Is there any prototype.vsdoc.js file available??
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi Jay,
Yup, this is the place. Can you post your dom:loaded code, and also
the selector code that doesn't seem to be working on Safari? Ideally,
a complete but small self-contained example posted to Pastie[1] is
good. Also, what version of Prototype (and Safari) are you using?
[1] http://pas
I've seen postings similar to my problem, but they didn't answer my
question.
Within an iframe, I've defined a
The getElementById() finds the target div OK.
But Ajax.Updater doesn't. Since prototype is loaded by the parent
window, and I don't want to load the whole thing again just for a
li
Great Fix - I had the same problem - works perfect
On Nov 8, 8:05 am, Tobias Gassmann <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I applied a quick and dirty hack to the "onEmptyHover"-function to get
> rid of the flickering when using dropOnEmpty
> --> onEmptyHover: function(element, dropon, overlap)
On Nov 17, 12:16 pm, Joe Moore <[EMAIL PROTECTED]> wrote:
> I'm trying to use the bind to the windows.onscroll event with
> Event.observe, but it doesn't work. No error is reported.
>
> Here is a small bit of JavaScript I am using:
>
> function initPage()
> {
> Event.observe("window", "scroll",
I'm trying to use the bind to the windows.onscroll event with
Event.observe, but it doesn't work. No error is reported.
Here is a small bit of JavaScript I am using:
function initPage()
{
Event.observe("window", "scroll", function() { alert("Hello
World"); });
}
document.observe('dom:loaded',
On Nov 17, 12:13 pm, badgerduke <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I've been trying to use Ajax.Request(). The following is my code:
>
> function retrieveProjectPermissions(stateDataID, projectID) {
>
> new Ajax.Request('/gallupFaith/me25/
> ProjectPermissionsAjaxAction.action',
> {
Hello:
I've been trying to use Ajax.Request(). The following is my code:
function retrieveProjectPermissions(stateDataID, projectID) {
new Ajax.Request('/gallupFaith/me25/
ProjectPermissionsAjaxAction.action',
{
method:'get',
parameters: {statedataid: stateDataID, proje
on teh same ish subject, this cropped up on ajaxian today !!... might be
worth a read
http://ajaxian.com/archives/trying-to-be-private-in-javascript
- Original Message -
From: "Mona Remlawi" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 17, 2008 3:43 PM
Subject: [Proto-Scripty] Re:
Super, I like the word "shared". I'll keep an eye not to have any
state in the private block :-)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:23 PM, kangax <[EMAIL PROTECTED]> wrote:
>
> On Nov 17, 4:13 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote:
> [...]
>> I'm wondering if this
On Nov 17, 4:13 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote:
[...]
> I'm wondering if this is a good practice. Are there any insights that
> i should be aware of? Are the private methods/functions being
> duplicated for each of myclass instance?
If what you need is to create private static ("cla
Good call George, I'll do the same :)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:13 PM, George <[EMAIL PROTECTED]> wrote:
>
> T.J. - Mona,
>
> Thank you both very much for your solutions, recommended reading lists
> and T.J, for your event delegation suggestion. FYI Mona's sol
T.J. - Mona,
Thank you both very much for your solutions, recommended reading lists
and T.J, for your event delegation suggestion. FYI Mona's solution
worked out of the box but T.J. your event delegation suggestion makes
a lot of sense - I suspect I will add a new method to my class to
handle al
No problems here.
- Original Message -
From: "Tobie Langel" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 2:48 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
Guys, please stay courteous (and that includes avoiding shorthand).
Thank
Guys, please stay courteous (and that includes avoiding shorthand).
Thank you!
Tobie
On Nov 17, 3:33 pm, "Alex Mcauley" <[EMAIL PROTECTED]>
wrote:
> okay m8 calm down lol its no biggie ..
>
> - Original Message -
> From: "T.J. Crowder" <[EMAIL PROTECTED]>
> To: "Prototype & script.aculo.
okay m8 calm down lol its no biggie ..
- Original Message -
From: "T.J. Crowder" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 2:01 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
> Also the code you quote me on was psuedo code just
> Also the code you quote me on was psuedo code just to try to give an idea of
> what i am trying to achieve - i know it was unworking !
Alex, you've said that several times now. If you post code that's not
code, please say it's not code to avoid wasting people's time.
Looking at:
var p
true / flase should usually be not in quotes ... try removing the quotes
- Original Message -
From: "scripter" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 1:35 PM
Subject: [Proto-Scripty] Javascript error in IE6 for Effect.Highlight
>
> Hi,
>
>
Hi,
I just started with Scriptaculous. I tried using Effect Highlight
property in the below piece of code.
I tested it with IE6 and Firefox 3. It is working fine in both except
that i am getting an javascript error in IE6 status bar.
This error states 'Invalid Property value' at line 1909, cha
Doh! I missed he was doing all of this in an invoke, what I get for
skimming.
Wow, that's convoluted. Good answer, though.
George, AFAICS Mona's solution will work for your _editField function
as defined. But FWIW, I'd probably define a separate function
intended as an event handler. (The re
No it is a bug in chrome! as i stated
- Original Message -
From: "T.J. Crowder" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 1:33 PM
Subject: [Proto-Scripty] Re: Ajax.Responders
Hi,
What Alex posted wasn't a bug -- or at least, wasn't a bug in
fixed the problem incase anyone was wondering a solution its simply
done like this
var data={};
$$('.jsonForm').each(function(e) {
data[$(e).lang] = $(e).value;
});
var params=Object.toJSON(data);
params is now json decodible on the serverside - if using php and
magic_quotes is set to o
IE is picky about commas at the end of object literals. Try removing
the comma at the end of this line:
parameters: {query: this.value},
Colin
On Nov 17, 1:27 am, bejitto101 <[EMAIL PROTECTED]> wrote:
> My ajax works with FF but fails with IE. The code is quite simple:
great readings suggested.
when you finish, you can try the following :)
$$('.editable').each(function(e) {e.observe('click', (function()
{this._editField(e)}).bind(this))}, this);
the problem is that when you iterate, you have to specify the context.
On Mon, Nov 17, 2008 at 2:15 PM, T.J. Crowd
Hi,
What Alex posted wasn't a bug -- or at least, wasn't a bug in
Prototype.
What's this other bug you're speaking of? Can you post an example?
--
T.J. Crowder
tj / crowder software / com
On Nov 17, 9:07 am, bluezehn <[EMAIL PROTECTED]> wrote:
> Incidentally, I believe there is a similar bug i
Hi Mona,
> Are the private methods/functions being
> duplicated for each of myclass instance?
No, there is a single copy of each private variable and private
method, contained within the outer closure, which is referenced by
public methods you define because they, too, are closures. That means
I suppose what i need is a push into my json object method ... though i
cant seem to find a working one in prototypejs ..
merge(); and update(); both seem to want to be used with $H() but it updates
with my var ...
Something like {"l" : "doe"}
when it should be {"surname" : "doe"};
plus it
Hi George,
Go back to school! ;-)
No, seriously, you don't need to wrap the call to bindAsEventListener
() in a function; that's its job. You also don't have to pass the
event object to it. (And you probably want bind()[1] rather than
bindAsEventListener().)
[1] http://prototypejs.org/api/fun
because i need to evaluate each one and i need to send other post data that
does not need evaluating .. the other post data is not allways static so i
cant put if/else clauses on my serverside code to accomidate it ... what i
need is the data from the each loop send as 1 post parameter and my o
Hi Folks,
I'm pretty sure that I'm going to be told to go back to school here,
but I've wasted a whole morning trying to figure this out - now it's
time to ask the experts.
I've simplified my code here to demonstrate what I'm trying to do:
[CODE]
var buildPage = {};
buildPage = Class.create();
Alex,
Why send it to the server in JSON format as opposed to standard POST
encoding? If all you want is key/value pairs, just sending POST data
seems much more straight-forward.
Separately, on the code:
> $$('.formJson').each(function(e) {
> var p=$(e).dbCol + $(e).value;
> var d=p.toJSON();
>
here's what i will do to send the json to server
---
new Ajax.Request(url, {
postBody: Object.toJSON(params),
contentType: "text/javascript",
onSuccess: function(xhr) {
},
onFailure: function(xhr) {
},
onComplete: functio
can i send all that into json afterwards to send it to the server ?
Thanks
Alex
- Original Message -
From: "Mona Remlawi" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 17, 2008 12:52 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
>
> ok what about this:
>
> var params =
ok what about this:
var params = {};
$$('.formJson').each(function(e) {
params[$(e).dbCol] = $(e).value;
}
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 1:43 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrote:
>
> cant use it as it needs to be custom as stipulated ... i need to get certai
cant use it as it needs to be custom as stipulated ... i need to get certain
fields from the input elements ..
merge() seems to want to do it but is not working as expected
Thanks
Alex
- Original Message -
From: "Mona Remlawi" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 17, 2008 1
hmm just out of the top of my head here, did you try using
$H(form.serialiaze()) ?
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 1:13 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrote:
>
> basically i think i need a push method to push values into a json object
>
> then i can try to decode
basically i think i need a push method to push values into a json object
then i can try to decode it on the server!!
- Original Message -
From: "Jeztah" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 11:51 AM
Subject: [Proto-Scripty] Sending Json
you can assign the request to a variable
myRequest = new Ajax.Request(..
- Original Message -
From: "Manish" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Monday, November 17, 2008 9:09 AM
Subject: [Proto-Scripty] new AjaxRequest.
>
> Whenever we do new AjaxReq
Morning Guys ...
I am having a real headache trying to send json data to the server and
have php decode it so i can do something with the data ..
.
Basically what i am trying to do is...
I have a form and i would like to send data to the server in Json form
(key/value pairs) so i can go over it
Whenever we do new AjaxRequest a new activeX object is created and
sent to the url. Suppose you click multiple times, multiple request
objects are sent to the url. If 5 requests sent 5 responses come back.
My data on the page refreshes 5 times. Is there a way so that if I
send multiple requests th
take a look at [http://prototype-window.xilinus.com/] prototype based
window class that does confirm windows and others. ..
On Mon, Nov 17, 2008 at 11:48 AM, Cristisor <[EMAIL PROTECTED]> wrote:
>
> Hi! I'm trying to build a popup window, something like the "confirm"
> box, but with more than O
Hi! I'm trying to build a popup window, something like the "confirm"
box, but with more than Ok and Cancel. Can someone give me a start, I
don't know how to make everything behind it read only so that the user
can't click another link before he confirms his option? Thank you!
--~--~-~--~--
Dear Prototypers,
I've been using the following technique for separating private and
public methods/variables in a class declaration.
---
Object.extend(myclass.prototype, function() {
//private variables
var attr1;
var attr2;
...
//private methods
f
Incidentally, I believe there is a similar bug if you use the
onSuccess/onFailure callbacks - if you do, then the Ajax.Responder's
onSuccess/onFailure's don't fire
On Nov 15, 9:40 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> Alex,
>
> You're incrementing and decrementing Ajax.activeRequestCoun
tested your page and it works on my IE6!
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 9:23 AM, T.J. Crowder <[EMAIL PROTECTED]> wrote:
>
> Fails how? Nothing happens? An error message?
> --
> T.J. Crowder
> tj / crowder software / com
>
> On Nov 17, 1:27 am, bejitto101 <[EMAIL PROTECTED]>
Fails how? Nothing happens? An error message?
--
T.J. Crowder
tj / crowder software / com
On Nov 17, 1:27 am, bejitto101 <[EMAIL PROTECTED]> wrote:
> My ajax works with FF but fails with IE. The code is quite simple:
>
> Code:
>
> document.observe("dom:loaded", load);
>
> function load() {
>
My ajax works with FF but fails with IE. The code is quite simple:
Code:
document.observe("dom:loaded", load);
function load() {
//$$(".tab-controls").invoke('observe', 'click', showControls)
$("venue-search").observe('keyup', venue_search);
}
function venue_search()
{
Hector Virgen wrote:
> Is there a vertical equivalent to Effect.Shake, or a way to make it shake
> vertically instead of horizontally?
> -Hector
Demo
http://scriptaculous.jakewendt.com/effects.html
Code
http://scriptaculous.jakewendt.com/scriptaculous_files/tc_effects.js
I found this tonight.
49 matches
Mail list logo