jquery lib conflicts
- by Indranil Mutsuddy
Hello friends,
I am tryin to use jgrowl and jquery validation in the same page and each time either of them works. I ve gone through the jQuery.nonConflict but coulnt solve the problem
my .cs code for jgrowl is
string js = "$.jGrowl(' INVALID MEMBER ID, KINDLY TRY AGAIN ');";
Page.ClientScript.RegisterStartupScript(typeof(string), "jgrowlwarn", js, true);
and in .aspx is the following libs
<script src="../jquery.jgrowl.js" type="text/javascript"></script>
<link href="../jquery.jgrowl.css" rel="stylesheet" type="text/css" />
whereas for validations the followin are the codes in .aspx page
<link href="../ketchup.jquery.ketchup.css" rel="stylesheet" type="text/css" />
<script src="../JS/ketchup.jquery.min.js" type="text/javascript"></script>
<script src="../JS/ketchup.jquery.ketchup.js" type="text/javascript"></script>
<script src="../JS/ketchup.jquery.ketchup.messages.js" type="text/javascript"></script>
<script src="../JS/ketchup.jquery.ketchup.validations.basic.js" type="text/javascript"></script>
<script type ="text/javascript">
$(document).ready(function($) {
$('#example1').ketchup();
});
</script>
How to make this work? please help.
Thanking you,
Indranil