jquery lib conflicts
Posted
by Indranil Mutsuddy
on Stack Overflow
See other posts from Stack Overflow
or by Indranil Mutsuddy
Published on 2010-05-15T09:03:39Z
Indexed on
2010/05/15
9:14 UTC
Read the original article
Hit count: 493
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
© Stack Overflow or respective owner