No offense taken.  I did know it, but it caused me to double check, and somehow 
only jquery.js was in my media/js directory.  It now works!

Thanks,
Heath

On Mar 23, 2010, at 10:47 AM, Stuart Laughlin wrote:

> Be careful, though, because $() resides in jquery itself (i.e.
> 'jquery.js'), while fieldValue() comes from a plugin (i.e.
> 'jquery.form.js'). Therefore, stepping through the $() function
> successfully is no guarantee that fieldValue will resolve (i.e. since
> 'jquery,js' could be included but 'jquery.form.js' could be excluded).
> 
> Pardon me if you were already clear on this; I'm just making sure.
> 
> 
> --Stuart
> 
> On Tue, Mar 23, 2010 at 10:39 AM, Robinson B. Heath
> <[email protected]> wrote:
>> Yes.  I did actually have that problem because my dev web root is different 
>> from my deployed root, so the static files weren't being served correctly in 
>> the dev environment.  However, I have worked through that and can confirm 
>> that jquery is working because I have stepped through the $() function which 
>> is also a jquery function.
>> 
>> Thanks,
>> Heath
>> 
>> On Mar 23, 2010, at 8:56 AM, Stuart Laughlin wrote:
>> 
>>> I believe fieldValue is part of the jQuery Form Plugin. Do you have a
>>> reference to that in your html head?
>>> 
>>> <head>
>>>   <script type="text/javascript" src="jquery.js"></script>
>>>   <script type="text/javascript" src="jquery.form.js"></script>
>>>   ...
>>> </head>
>>> 
>>> 
>>> --Stuart
>>> 
>>> On Mon, Mar 22, 2010 at 11:47 PM, bheathr <[email protected]> wrote:
>>>> I am trying to figure out why the Variation Helper is not working for
>>>> me.  I tracked it down to the following line and error:
>>>> 
>>>> $(function() {
>>>>       // make a list of the optiongroups and associated checkbox
>>>> keys for easier lookup later
>>>>       satchmo.optiongroups = {};
>>>>       for (var i=0; i<satchmo.optionkeys.length; i++) {
>>>>           satchmo.optiongroups[satchmo.optionkeys[i]] = [];
>>>>       }
>>>> 
>>>>               // Get initial values
>>>>               $('form #variation_products input').each(
>>>>                       function() {
>>>>                               if ($(this).is('inp...@type=text]')) {
>>>>>>>>>                          val = $(this).fieldValue();
>>>>                               }
>>>>                               else {
>>>>                                       val = this.checked;
>>>>                               }
>>>>                               satchmo.initial_vals[this.id] = val;
>>>> …
>>>>>>> TypeError: Result of expression '$(this).fieldValue' [undefined] is not 
>>>>>>> a function.
>>>> 
>>>> It happens on both Safari and Firefox.  Any ideas?
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Satchmo users" 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/satchmo-users?hl=en.
>>>> 
>>>> 
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Satchmo users" 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/satchmo-users?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Satchmo users" 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/satchmo-users?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Satchmo users" 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/satchmo-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en.

Reply via email to