[jQuery] Button click

[jQuery] Button click

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 results as needed , but issue is its working perfectly
in IE 7.But in mozilla it needs two click.So is there any solution to
overcome this.Any help would be gratefully appreciated.
Regards,
Gins.