Jump to content

problem in jquery


programAngel

Recommended Posts

I have written the page in the link in the next line:http://barzilaymor.c...us/DiurPlus.php In the bottom of the code I have used a jquery command that create a listener to a click event. But it rum the function automatically after the page finished to load regardless of any click.I talk about this following command.

 $('#next-page').on('click',changepage( 2 )); 

the changepage function is executed immediately after the page is finished to load. What is the reason for this behavior and how can I solve it?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...