my post may have been a waste of space --- i figured it out, in any case,
for anyone who is curious here is the answer to my question:

all static files that the client's browser needs to read such as a
jquery.form.js file need to be inside of /static

so the header of the html page should appear as:

<script type="text/javascript" src="/jquery/jquery.js" ></script>
<script type="text/javascript" src="/jquery/jquery.form.js" ></script>

and for that to work these lines need to be in the app.yaml

- url: /jquery
  static_dir: static/jquery

- url: /static
  static_dir: static
  expiration: 1d



On Wed, Mar 24, 2010 at 2:19 PM, B <boris....@gmail.com> wrote:

> So I know that if I want to use jquery I write this in the header of
> my html page:
>
> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/
> jquery.min.js" type="text/javascript"></script>
>
> But what do I do if I also want to use jquery's form plugin:
> http://jquery.malsup.com/form/
>
> I am guessing that I cant just use something like <script src="http://
> ajax....>?
>
> The problem now is it seems like I dont understand how to have a
> static jquery.form.js file recognized by the browser from by an app
> engine served page, although it appears simple?
>
> I downloaded the "jquery.form.js" file and placed a copy of it both
> the directories /jquery and /static and did not have success calling
> it from the .html page with either:
>
> <script type="text/javascript" src="/static/jquery.form.js" ></script>
> <script type="text/javascript" src="/jquery/jquery.form.js" ></script>
>
> in my app.yaml I have these lines:
>
> - url: /jquery
>  static_dir: jquery
>
> - url: /static
>  static_dir: static
>  expiration: 1d
>
> Any suggestions on where I might be going wrong with using this static
> file OR a better way to get access to the jquery-form-plugin?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to