;othercontent')); }, false );
Thanks for any help,
Kevin
--
Kevin Old
[EMAIL PROTECTED]
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
on some object that's visible at the global level
(window, for example, or some object you've created just for this purpose).
On 6/15/06, Kevin Old <[EMAIL PROTECTED]> wrote:
>
Hello everyone,
I posted yesterday about setting a global variable. I've done
everything I
Hello everyone,
I posted yesterday about setting a global variable. I've done
everything I can think of to keep the global variable set outside of
the onComplete.
Is this impossible? Surely I'm not the only one who needs this.
Thanks for any help,
Kevin
--
Kevin Old
[EMAIL
On 6/14/06, Kevin Old <[EMAIL PROTECTED]> wrote:
Hello everyone,
Just a note, I have to pass my JSON in the response body. I'm aware
of the X-JSON header, but am passing too much data to use it. No
problem and I have code that has it working well.
While I'm getting my JSON d
s undefined
Has anyone else run into this? Any ideas what I can do to fix it?
Thanks for any help,
Kevin
--
Kevin Old
[EMAIL PROTECTED]
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
http://kold.homelinux.com/rating_new/rating.html
Problem is, the green stars don't "stick" like they do in Firefox.
Can anyone help me with this?
Any help is greatly appreciated!
Kevin
--
Kevin Old
[EMAIL PROTECTED]
___
Rails-spinoffs mailing
Hello everyone,
I have the following code that builds into a .
buildModel() is called first, then setModel().
For some reason, I can't get the length of the "model" options in
setModel(), but can after they are built in buildModel();
function buildModel(originalRequest, json) {
var model =
Ed,
On 2/11/06, Ed C. <[EMAIL PROTECTED]> wrote:
> Just include the ( and ) parens in your X-JSON header string.
Yes, that will work, but it's a hack. Looking a all of the
documentation for the definition of JSON data, the parens are no where
to be seen.
Kevin
--
Kevin Old
[E
On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote:
> > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> > > Here's the page: http://kold.homelinux.com/prototype/testajax2.html
> >
> > I wa
On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote:
> On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> > Here's the page: http://kold.homelinux.com/prototype/testajax2.html
>
> I was hoping to be able to play with your X-JSON approach because that
> seems to
Hi Todd,
On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote:
> On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> > I'm using prototype 1.4.0 final.
> >
> > Any help is greatly appreciated!
>
> I'd be happy to look at a live website.
>
Here'
s
}
but it never "creates" my object.
I've even tried passing the data into the $H() function, but no luck.
I'm pulling my hair out with this as I'm coding this by the book and
none of it's working. I thought surely this would work as I'm
the_make", "the_mode" and "the_year" (if defined in the global vars
by server side code displaying this page).
2) Reload "model" and "year" as new "make" is selected.
Thanks for any help with this.
Kevin
--
Kevin Old
[EMAIL PROTECTED]
On 2/9/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> On 2/9/06, Tom Riley <[EMAIL PROTECTED]> wrote:
> > The above line looks wrong - the onComplete shouldn't be there and
> > should be a separate element in the options hash passed to
> > A
s function:
function showResponse(originalRequest)
{
//put returned XML in the textarea
$('result').value = originalRequest.responseText;
}
I'm using Prototype 1.4.0 final. Any ideas?
Thanks for your help,
Kevin
--
Kevin Old
[EMAIL PROTECTED]
___
;
if ( yearre.test(m) ) {
year.selectedIndex = i;
}
}
}
Abarth
Abbott-Detroit
ABC
Abingdon
Ford
AC
ACE
Ac
Since no one's replied, I've thought of a few specific questions
related to the code.
On 2/7/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> function setMake() {
> var make = document.getElementById("make");
> var makere = /ford/;
>
> // Set the ma
model',
function( element, value ) {
new Ajax.Updater( 'year',
'/util/year_select_response', { parameters: 'id='+value,asynchronous:
1,onComplete: function(request){var year =
document.getElementById('year&
>
The question I have is how do I get Ajax.Updater to load this? I'm
not sure if onComplete will work and I'm not sure that I can count on
the function names in this_javascript.js.
How could I go about getting this code to run once it's been fetched
by Ajax.Updater?
Thanks
19 matches
Mail list logo