Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting Startedjava Scrip problemjava Scrip problem
Previous
 
Next
New Post
12/5/2010 6:07 AM
 
i m adding java script code on module but when i debug module show error message like this.

Do u want to debug this webpage?
this webpage contain errors that might prevent it form displaying or
working correctly if you are not testing this page click No;

 Line: 227
Error: Object expected


on module i keep google map see my code maybe my code wrong see 227 line

<head>
  <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAAzB9odw9T1-q_wz0kdgzGlxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxT8-xMtUkUYd9BREbc53QkZweGyBQ" type="text/javascript">
  </script>
 
  <script type="text/javascript">
    $(function() {
    
227       if (GBrowserisCompatable()) {
228              var map=document.getElementById("mymap");
229                var m = new GMap2(map);
230               m.setCenter(new GLatLng(29.369722,47.978333),13);
231            }
232            else
233           {
234                upgrade your browser man");
235            }        
236        }
237    );
238 </script>
239</head>
 
New Post
12/5/2010 4:13 PM
 

Hi, this looks like a typo - GBrowserisCompatable should be GBrowserIsCompatible.

 
New Post
12/6/2010 12:20 AM
 
ohhhhhhhhhhhh thanks thanks...
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting Startedjava Scrip problemjava Scrip problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out