[jQuery] Re: js function to jQuery

2009-12-22 Thread jqHunter
Thanks much Sime Vidas, it worked! Since mine is an aspx with an AJAX UpdatePanel, jQuery(document).ready(function(){...}); did not work for me. So I implented it in the pageLoad as below: jQuery.noConflict(); function pageLoad() { jQuery("#CollapseExpandTd").click(function() { jQuery(

[jQuery] js function to jQuery

2009-12-22 Thread jqHunter
Hi All, I have the following js function used in an old web app. How can I translate this to equivalent jQuery code? Appreciate your help! function expandCollapse_onclick() { var treeCell = document.getElementById("TreeviewTd"); var topmenuCell = document.getElementById("MenuBarTd");