hey thr
can anyone help me for this.....
I have created one snnipet "loginbox" and paste the following code
<?php
<script type="text/javascript" src="assets/js/messages.js"></script>;
<form name="form" id="form" class="form" onsubmit="return
validate(this)" method="post">
<input type="text" name="name" id="name" />
<input type="text" name="password" id="password" />
<input type="submit" value="Submit" class="submit" id="button"/>
</form>
?>
message.js file is used for validation of input boxes i.e. username and password and it returns the message like "username caanot be blank etc". I tried a lot but i am still unable to get any result pls help me...............
src="assets/js/messages.js
Do you have a ’<base href=’ declaration in your template? It may not be finding the javascript, otherwise look at your generated page source to see what is actually being produced.
Use MODx, or the cat gets it!