JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 7th, 2012, 01:01 PM
gunapriyan gunapriyan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 3 gunapriyan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 58 sec
Reputation Power: 0
Object doesn't support this property or method

Friends,

Please find my code below....

----------------------------------------------------------------------------------

<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>

<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

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

</script>

<script type="text/javascript">

ddsmoothmenu.init({
mainmenuid: "templatemo_menu", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>
<style type="text/css">
<!--
.style1 {font-size: 14px}
.style2 {
font-size: 15px;
font-weight: bold;
color: #336600;
}
.style3 {color: #000000}
-->
</style>

<!-- Import jQuery and SimpleModal source files --....Namma J Query>-->
<script src='js/jquery.js' type='text/javascript'></script>
<script src='js/jquery.simplemodal.js' type='text/javascript'></script>
<!-- Contact Form JS and CSS files -->
<script src='js/basic.js' type='text/javascript'></script>

<link type='text/css' href='css/basic.css' rel='stylesheet' media='screen'>
<script type='text/javascript'>

$(document).ready(function () {
$('#basicModalContent').modal();
});

</script>
</head>
----------------------------------------------------------------------------------

I am facing Object doesn't support error message for the following lines,

$(document).ready(function () {
$('#basicModalContent').modal();
});

Please help me to fix it....

Thanks in advance.

Regards,

Guna

Reply With Quote
  #2  
Old December 7th, 2012, 01:07 PM
jonathansampson jonathansampson is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Location: Atlanta, GA
Posts: 14 jonathansampson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 22 m 47 sec
Reputation Power: 0
Are you sure all of your files are loading in successfully? Press F12 (if you're in Chrome of Internet Explorer) and look at the Network tab. Refresh your page and make sure that all of your dependencies are loading.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Object doesn't support this property or method

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap