User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,198 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,036 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 604 | Replies: 2
Reply
Join Date: Feb 2008
Posts: 1
Reputation: vashishth_kec is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
vashishth_kec vashishth_kec is offline Offline
Newbie Poster

unexpected object

  #1  
Feb 27th, 2008
hi,
i m having a problem on on uploading this site
it is giving unexpected object error
plz help me


</head>
<body onload="afterload()">
<img src="images/ICB Blue_top arc.gif" id="toparc"/>
<div class="content">
<img id="logoimg" src="images/ICB Blue_logo.gif"/>
<div id="registerDiv">
<FORM name="drop_list" action="mobisyregister_.php" method="POST" onSubmit="return ValidateSelect(this)">

<table cellspacing="0" cellpadding="5" border="0" width="100%">
<tr>
<td valign = "top">
<div style="margin-left:0%;">
<font color ="#666666">*MobileNo</font>
&nbsp;(Ex-919972397887)
</div>
</td>
<td>
+<input type="text" name="mobileno" style="width:38%;" onblur="SendMobileNo(document.drop_list.mobileno.value)"/>
<div id="mob"></div>
<span id="mobileno_label"></span>
</td>
</tr>
<tr height = "28">
<td>
<div style="margin-left:0%;">
<font color ="#666666" >*Password</font>
</div>
</td>
<td>
&nbsp;&nbsp;<input type="password" name="password" style="width:38%;" class="form"/>
<div id="pwd"></div>
<span id="password_label"></span>
</td>
</tr>
<tr>
<td>
<div style="margin-left:0%;">
<font color ="#666666">*Confirm Password</font>
<td>
&nbsp;&nbsp;<input type="password" name="confirm" style="width:38%;" class="form" onblur="CheckPassword(document.drop_list.confirm.value,document.drop_list.password.value)"/>
<div id="conf"></div>
<span id="checkmatching"></span>
</td>

</tr>
<tr height="28">
<td>
<div style="margin-left:0%;">
<font color="#666666">*Country</font>
</div>
</td>
<td >
&nbsp;&nbsp;<select NAME="Country" onChange="SelectCity();" class="form" style="width:38%;">
<Option value="">Country</Option>
</select>
<div id="cnty"></div>
<span id="cname"></span>
</td>
</tr>

<tr height="28">
<td>
<div style="margin-left:0%;">
<font color ="#666666">*City</font>
</div>
</td>
<td width="430">
&nbsp;&nbsp;<select id="City" NAME="City" class="form" style="width:38%;">
<span id="ctyname"></span>
<Option value="">City</Option>
</select>
<div id="cty"></div>
<span id="ctyname"></span>
</td>
</tr>

<tr height="28">
<td>
<div style="margin-left:0%;">
<font color="#666666" >&nbsp;*Enter Code</font></div>
</td>
<td>
&nbsp;&nbsp;<input type="text" name="vercode" class="form" />
<span id="vercode1"></span>
<div style="margin-left:0%;">
<span id="equal"></span>
</div>

<br/>
</td>
</tr>


<tr height="28">
<td width="155">
<div style="margin-left:50px;">
<td width="15">&nbsp;</td>
<td width="430">
<span id="cname"></span>
</td>
</tr>
<tr height="10%" width="60">
<td colspan="5">
<div style="margin-left:1%;">
<!--<input type="checkbox" name="CHKBOX_2" value="2">Agree with<a href="TermsAndCondition.html" target ="a">Terms And Conditions</a>and privacy policy<div id="terms"></div><span id="terms"></span></td>-->
<input type="checkbox" id="tac_checkbox" >
Agree with<a href = "termsandcondition.html" target = "a">
<font color ="DodgerBlue"><i>"Terms of use"</i></font>

</a> and Privacy Policy.<div id="terms"></div><span id="terms"></span>
</tr>

</table>
<br/>
<input type="submit" value="Submit" name="Submit" class="submit">
<input type="reset" value="Reset" name="Reset" onClick= "formreset(true)">

</td>

</tr>
</table>


</FORM>
</div>

<ul id="botttomdiv">
<li><a href="home.html">Home</a></li>
<li><a href="http://www.s60.com/life/s60phones/browseDevices.do?edition=THIRD_EDITION&region=&manufacturer=Nokia&sortBy=MANUFACTURER_AND_DATE" target = "b">Compatibility</li>
<li><a href="http://www.mobisy.com" target = "b">About us</a></li>
<!-- <li><a href="http://www.mobisy.com/contactus.html">Contact us</a></li>-->
<li><a href="http://www.mobisy.com/demovideo.html" target = "b">Demo Video!</a></li>
</ul>
</div>
</body>
</html>
Last edited by peter_budo : Feb 27th, 2008 at 2:43 pm. Reason: Please use [code] tags as to make easier to read your post
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2008
Posts: 36
Reputation: vedmack is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vedmack vedmack is offline Offline
Light Poster

Re: unexpected object

  #2  
Feb 28th, 2008
You need to remove several wrong placed tags

1)on first line </head> is wrong (unless u haven't posted the entire html code) so remove it...

2) remove this 3 tags (cause the are extra)
</td>

</tr>
</table>

which appear after
this lines :
<input type="submit" value="Submit" name="Submit" class="submit">
<input type="reset" value="Reset" name="Reset" onClick= "formreset(true)">

after i did this changes, the page loads well...

Daniel
Last edited by vedmack : Feb 28th, 2008 at 12:25 am. Reason: ...
Reply With Quote  
Join Date: Jan 2007
Posts: 2,433
Reputation: MidiMagic is on a distinguished road 
Rep Power: 6
Solved Threads: 99
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Posting Maven

Re: unexpected object

  #3  
Mar 1st, 2008
You need to put a space before the / in the self-closing tags.

<br /> is OK

<br/> is not OK.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC