I would like to know how to load the code from another html or php file using the $(".div").load("html.html");
The error here would be:
It loads the code perfectly, but I have a button in that HTML, the button appears right but then it does not execute anything, if I put the button directly without using the .load()
function, it works right, loading using load()
it does not perform the functions.
I found that load
would do the same function as include
of php
Can someone explain me?
<input class='submit' name='entrar' type='button' value='entrar'>
I also created a file html.php
and inside it I put a echo
with the above code, it returned perfect on the screen but also without executing the function.