I have a JavaScript
function as below.
function callServer(gridView)
{
// Other Codes
}
There is a GridView
with id PartAvailability_GV
. I need to pass id of this GridView
to my JavaScript
function. I tried to do it as below.
callServer(PartAvailability_GV);
But I got an error as below.
Uncaught ReferenceError: PartAvailability_GV is not defined
What could be the issue? How can I achieve this?