[jQuery] Button click

2009-10-29 Thread gins
Hi all, I have written some code in jquery.i am using jquery 1.3.2.Using jquery,i am creating a new div in my form on a button click.At the same time i need to get the respective id of a item which has to be displayed.For that,i am using onclick function in the same button.I am getting the result

[jQuery] $("button").click(function () {$("p").toggle("slow"); for sevoral items.

2009-01-27 Thread Razze
Is it possible to add : $(document).ready(function(){ $("button").click(function () { $("p").toggle("slow"); }); }); that works for sevoral items, example, this is my menu : News Contact Staff Join Forum Status i want each button to open a different paragraph,

[jQuery] Button Click

2008-07-11 Thread shapper
Hello, I have a button which redirects to a page: Cancel Should I remove the onclick from the button and do this with JQuery? And how can I do that using JQuery? Thanks, Miguel