i've a dinamyc grid in my project where when i select 1 option it call my grid , well this works but not always , i mean i don't know why but sometimes it doesn't work and send me this error:

Hi,
Show your code with jsGrid config or reproduce this scenario on JSFiddle
Looks like jsGrid script is not loaded.
It could be the case that this script is loading asynchronously, so it's not guaranteed that it present when jsGrid is initialized.
i solved the problem( i think) , in my project there is a button on my grid , wich call a modal with content from another page(jsp) , i don't know why but if i change the call $(..).load to "document.getElementById("something").innerHTML = '
Glad that you figured it out.
I'm afraid, there is not enough context to answer your followup question.