I am building a css table using div elements. I am trying to observe
all the DIVs with a class name of oddRow but I keep getting JS errors.
This is my first attempt at observing an entire class. Can someone
please point me in the right direction. I thought the $$ method
returned an array so I wo
prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Monday, August 17, 2009 11:48 AM
To: prototype-scriptaculous@googlegroups.com
Subject: [Proto-Scripty] observe by class name
I am building a css table using div elements. I am trying t
I have the following code that works just fine. I can't figure out how
to tell how many check boxes are checked. I want to limit it to four
check boxes. Any help would be appreciated, or even a point in the
right direction.
$$('input.check').each(function(elem){
elem.observe('click', functi
p://www.thevacancymarket.com
- Original Message -
From: "Richard Quadling"
To:
Sent: Monday, September 14, 2009 4:52 PM
Subject: [Proto-Scripty] Re: checkboxes
2009/9/14 Russell Keith :
> I have the following code that works just fine. I can’t figure out how to
> tell h
I have the following CSS class I am adding with Element.addClassName
tr.selected{
background: url(/images/ArrowSelection.gif) no-repeat;
background-color: #AA;
}
My issue is that it is also adding the background image to each in
the . Any idea how to stop t
If I am adding elements to a page after the DOM is loaded, how do I add
my existing Element.observe to it?
Russell
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post
Ok, maybe I'm just being dense, but I am reading the API for forms and I
am getting nothing from it.
What is proper use of the $F utility and what can it do for me? I have
read the Form.Element.getValue and it means nothing to me.
I have this form:
" />
009, at 11:08 AM, Russell Keith wrote:
> Ok, maybe I'm just being dense, but I am reading the API for forms
> and I am getting nothing from it.
>
> What is proper use of the $F utility and what can it do for me? I
> have read the Form.Element.getValue and it means nothi
egroups.com] On Behalf Of Russell
Keith
Sent: Thursday, October 29, 2009 10:28 AM
To: prototype-scriptaculous@googlegroups.com
Subject: [Proto-Scripty] Re: Forms
Then how is $F() any different than $()?
Also, any idea why I can't get my form to submit. I have been all over
Google and
Give this a try and see if it shows what you need. You should be able
to take this example and run with it.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
Element.Observe Example
//wait until the DOM is loaded
document.obse
I have an iframe on a page with an ID of 'generateID'. There is a field
on the page loaded in the iframe with and ID of 'type'. I want the
'type' field to have focus when I make the iframe visible. I want to do
it from the parent window. I have tried the code below. Is there a way
to make this
Perfect!!! Thank you.
Respectfully,
J. Russell Keith
Employee Systems Analyst
American Airlines Federal Credit Union
817.931.4459 Direct
800.483.0944 Fax
russell.ke...@aacreditunion.org
-Original Message-
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul
I have a div that I am updating with text as processes complete. How
can I use $(element).scrollTo(); to make sure it is always scrolled to
the bottom?
In my HTML I have this div
In my js I have calls like this to update the user as to what is going
on while they wait.
$('msgCenterCont
I figured out I can do it like this.
$('msgCenterContent').scrollTop = $('msgCenterContent').scrollHeight;
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Monday, March 22, 2010 12
I have a PeriodicalExecuter that is calling a function every so often
that makes several AJAX calls. I am not having any luck getting the
PeriodicalExecuter to stop via the onFailure callback in the Ajax call.
Is this possible? I see in the API doc that I can use stop() within the
PeriodicalExecu
Ok this doesn't make any sense to me. The following code works in IE8
but not IE7. The Ajax calls never get fired according to my proxy
software. I don't have the luxury of firebug since I am relegated to IE
here at work. Any ideas?
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
It appears that IE7 doesn't like the port number added to the URL. Any
thoughts on how to get around this? I have to have the port numbers.
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Friday, M
prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Friday, May 28, 2010 4:24 PM
To: prototype-scriptaculous@googlegroups.com
Subject: RE: [Proto-Scripty] Ajax in IE7 vs. IE8
It appears that IE7 doesn't like the port
I have an iframe and I am using the onbeforeunload to prevent data loss.
What I need to do is set a variable called save to 0 after any change is
made within the frame.
I tried this but it doesn't work:
document.observe('change', function(){
save=0
I have several of these inputs in a form:
Everything works great. What I need to do is update the input with a
stored value, that is easy enough:
$('authSign1').innerText = signer[1];
But I also need to fire the verifySigner() function and can't figure
this one out. I have tried s
Nevermind I figured it out.
elem = $('authSign1');
verifySigner(elem);
I feel like a bone head now. Sorry for the extra email.
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Rus
Does prototype or scriptaculous offer a way to parse a query string in a
URL? I am creating a simple page that will redirect a user as a band
aid for poor programming choices made by a vendor. I need this to all
be done in JavaScript. I found several solutions on Google but wondered
if prototyp
When doing calling Ajax.Request is there a way to take an array returned
by PHP and read it into a JavaScript array? Or would I need to split
the array in PHP to a comma separated string then read it back into an
array in JavaScript?
J. Russell Keith, MCDST
Branch Suite Administrator
I got the pasted code form a vendor to make a call to their webservice.
http://pastie.org/462963
I'm trying to do the same thing with proto but can't seem to get it to
work.
document.observe('dom:loaded', function() {
new Ajax.Request(url, {
method: 'post',
I have dumbed down this code even more and still can't get the ajax
request to fire. Any suggestions would be great.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; />
Untitled Document
f the Same Origin Policy
imposed on JavaScript.
Walter
On May 5, 2009, at 5:26 PM, Russell Keith wrote:
>
> I have dumbed down this code even more and still can't get the ajax
> request to fire. Any suggestions would be great.
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
Ok I get that you can't request across domains, but it doesn't explain
why my code on pastie (http://pastie.org/462963) works but the prototype
code doesn't.
J. Russell Keith, MCDST
Branch Suite Administrator
American Airlines Federal Credit Union
817.931.4459 Direct
8
But terrain is the name of the server. I am sending xml data to a webservice on
this server.
J. Russell Keith, MCDST
Branch Suite Administrator
American Airlines Federal Credit Union
817.931.4459 Direct
817.931.9541 Fax
russell.ke...@aacreditunion.org
- Original Message -
From
I am running the vendor code and my prototype code from the same folder
on the same server with almost the same file name. The only difference
is I added pt to the filename that my prototype code is trying to run
from.
http://server_a/ajaxIG.html is the vendor code and it calls
http://server_b/c
esn't even appear to be trying to make the call to the web service.
-Original Message-
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Wednesday, May 06, 2009 8:15 AM
To: prototype-scriptaculous@googlegro
It appears the tag must have a closing tag .
So this
Should be this
Russell
-Original Message-
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex
Sent: Friday, May 29, 2009 12:11 AM
To: Prototype & script.aculo.us
Sub
31 matches
Mail list logo