Well, some days I asked a question about optimization here, and got satisfactory answers. Soon I came to the conclusion that the way I was doing my WEB system would cause performance problems because I was doing all my screens and forms inside a single index, the solution I thought was to separate the screens and create an html file for each one, so that this file is only read when the user clicks to open a particular screen. I made a code and it worked, but I'm having an error in the jquery
file and the error is varying, very strange.
Time I receive this error:
jquery.js:1451 Uncaught TypeError: a.getAttribute is not a function
And then, this:
jquery.js:1451 Uncaught TypeError: undefined is not a function
This is the code
$LAB.script('formularios/prospeccao/prospeccao.js').wait();
$.post('formularios/prospeccao/prospeccao.html', function(html) {
$('#formulario_geral_prospeccao_id').html(html);
});
Can anyone tell me why this error occurred? Thanks!