Jquery script don't work on loaded page

Yo

New Member
In my web-application i have a div which loads another page: \[code\]$('#main').load('pages/main.php');\[/code\]main.php consists jquery validation script. This script is working if i go directly to the main php, but don't work if i will use this page on my index page where main.php loaded.How can i solve this problem?Thanks in advance.
 
Back
Top