I wrote this two lines in the Appmodule
 configuration.add(JQuerySymbolConstants.JQUERY_ALIAS, "$j"); 
 configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false");

Now everything is working i.e. autocomplete mixin, jquery/tooltip, tapestry
validation,
 (function( $ ) {
 $(document).ready(function(){
 alert("ok");
 });
 }) ( jQuery ); 

Only the simple jquery code isn't working
$(document).ready(function(){
        $("#showid").click(function(){
                $("#pelement").show();
        });
        $("#hideid").click(function(){
                $("#pelement").hide();
        });
});
Error: $(document).ready is not a function
Source File: http://localhost:8080/medical/about
Line: 29


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/jquery-tp5113334p5117610.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to