View Full Version : Google Feed Control API I need to load later

Jul 2nd, 2007, 12:54 PM
from this page

you'll see it loads the feed, runs the script with

google.load("feeds", "1");

It opens with calling the API source and your google key

<script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR_KEY_HERE"></script>

I don't want this beginning when the page loads. I have a form with values I need to pass to it. I can't get it to NOT work until called to work.

I tried-
My form button OnClick calls initialize() which is the very next line after the google.load one I posted above. Misses that line of code apparently:(
I put the script within the HTML div instead of the head....nope
I tried to give the script a bogus value then re-do it with the form values, that just gave me the same prob twice.
I thought of setting a timeout but then what good would that do, my visitor would have to wait after submitting the form?
Well then i figured this couldn't be that hard and I was past a point and needed to ask for a hand...hence this post

Jul 2nd, 2007, 01:45 PM
figured it out, thanks anyway