Welcome Guest! To enable all features please Register.

Notification

Icon
Error

New Topic Post Reply
Microsoft JScript runtime error: 'theForm.elements.length' is null or not an object
Guest
#1 Posted : Wednesday, September 07, 2011 1:06:06 AM(UTC)
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 443
Points: 1,361
I am using Blogengine 1.6 and everthing works fine.
I tried creatign a mobile theme and used Jquery for mobile nad Jquery to have some good functinality.

So, the very first step of using it is to include following scripts files in theme\MyTheme\site.master

Code:

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script>


I did this and started getting this error:

Microsoft JScript runtime error: 'theForm.elements.length' is null or not an object.

Does anybody has any idea abour what is causing the issue?
Sponsor

Guest
#2 Posted : Thursday, September 08, 2011 1:42:51 AM(UTC)
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 443
Points: 1,361
The problem could be caused by multiple <form runat="server"> tag in your page.
Please check if you more than one form tag. If yes, then remove one of them to solve the issue.
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.