Rather than posting just a couple of snippets without any context, etc., it would be much better to post a link to the page, working or not, so that we can leverage our own debugging tools and methods against the issue.
Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: jrgeer...@gmail.com If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Mar 17, 2012, at 3:45 AM, RameshVel wrote: > i am using google search JSAPI in my local search app. Everything > works fine in all the browsers except IE 8. The problem is after the > specific line of code my jquery base object and google objects are > drreferenced. > > Its a straight forward code. I am able to reproduce the problm using > this jsfiddle. > > html code is > > <html> > <head> > <title>Test Map</title> > <script src="http://www.google.com/jsapi?" type="text/ > javascript"></script> > > </head> > <body> > <div id="map_canvas"></div> > </body> > </html> > > and JS > > $(function() { > alert(1); > google.load('search',1); > alert($); > > google.setOnLoadCallback(function() { > alert(2); > }); > }); > > after the line google.load('search',1) i got the following error > > Error: Object doesn't support this property or method > > on $ and google. > > This is totally a nightmare. I am fighting with this for hours without > a luck. Any IE experts here got an idea? > > Update: > It seems that there is a issue in google.load on IE 8. Because this > time i removed other libraries (jquery) and ran a barebone js with > google.load and getting the same error. Can someone confirm > > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > google-ajax-search-api@googlegroups.com > To unsubscribe from this group, send email to > google-ajax-search-api+unsubscr...@googlegroups.com > To view this message on the web, visit > http://groups.google.com/group/google-ajax-search-api?hl=en_US > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to google-ajax-search-api@googlegroups.com To unsubscribe from this group, send email to google-ajax-search-api+unsubscr...@googlegroups.com To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en