Finally figured out how to get the code on the master page to deal with this... Would delete this post, but I do not see an option...
I have master page and on this page I have a javascript section that I need to have search the current page to see if a radgrid is on that page.
I tried
but it returns an error because the grid is not there - of course.
What is the best way in javascript to see if the current page has an element on it before continuing...
I have master page and on this page I have a javascript section that I need to have search the current page to see if a radgrid is on that page.
I tried
but it returns an error because the grid is not there - of course.
What is the best way in javascript to see if the current page has an element on it before continuing...