Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<!doctype html)
<html>
<head>
	<title>Jquery Form Demo</title>
<link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css"></link>
<link href="css/demoproject.css" rel="stylesheet" type="text/css"></link>
<script type="text/javascript" src="site-js/jquery.js"></script>
<script type="text/javascript" src="site-js/jquery-ui.min.js"></script>
<script type="text/javascript" src="site-js/jqueryForm.js"></script>
<script type="text/javascript" src="site-js/dialogValidation.js"></script>

</head>
<body>
	<br>
	This is a jqeury dialo3g example:
	<br>
	<div id="jqueryDialogBox" title="Basic Dialog">
		<div id="errorZone"></div>
		<table>
			<tr>
		<td><label>Name:</label></td><td><input type="text" id="name"/></td>
	</tr>
		<tr>
		<td><label>Date of birth</label></td><td><input type="text" id="dob"/></td>
	</tr>
</table>
	</div>
</body>
</html>


I see something like this

[IMG]http://i62.tinypic.com/ru729d.jpg[/IMG]

[^]

now it means, css file isnt located by my code. I have double checked and css file is there. I also checked and i am opening correct page.

what else can make this happen?

http://i57.tinypic.com/315flt3.jpg[^]

here's jquery code

[IMG]http://i61.tinypic.com/2hwsw4.jpg[/IMG]

here's the messages from developer console

[IMG]http://i60.tinypic.com/ws7m6f.jpg[/IMG]
Posted
Updated 9-Sep-15 7:08am
v4
Comments
Palash Mondal_ 9-Sep-15 12:14pm    
Can you please post your jQuery code too...
ankur1163 9-Sep-15 12:32pm    
[IMG]http://i61.tinypic.com/2hwsw4.jpg[/IMG]

1 solution

replace -
Quote:
<!doctype html)

with
Quote:
<!doctype html>
 
Share this answer
 
v2
Comments
ankur1163 9-Sep-15 12:35pm    
Thanks. That was also mistake. But, its still not working
Member 11971643 9-Sep-15 12:40pm    
Run your website, press F12 and the developer tools panel
will show up. Go to the 'Console' tab, are there any error messages printed?
ankur1163 9-Sep-15 13:07pm    
yes lot of errors.

[IMG]http://i60.tinypic.com/ws7m6f.jpg[/IMG]
Member 11971643 9-Sep-15 13:11pm    
your jquery files are not found. try using a more explicit path
ankur1163 9-Sep-15 13:13pm    
I have put correct path of javascript files. Now, all errrors are gone. But still i see simple dialog box.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900