All,
Forgive me for my ignorance here, but I have exhausted all other avenues. Hopefully someone can point me in the right direction.
I am trying to write jQuery that will allow me to access a RadMenu object from client-side and call the disable function on that object. The issue is, I'm writing the code to be generic. Given that, I'll only know the name of the containing <div>, not the actual RadMenu ID. Can this be accomplished, or am I barking up the wrong tree? Below is the code that I am currently attempting to use, but firebug shows an error of "$("[id$=" + target + "]").find('[id$="rmMenu"]').disable is not a function". The "target" is the string representing the div id before asp.net gets hold of it and prepends the id with the asp.net identifier string.
Thanks in advance...
Forgive me for my ignorance here, but I have exhausted all other avenues. Hopefully someone can point me in the right direction.
I am trying to write jQuery that will allow me to access a RadMenu object from client-side and call the disable function on that object. The issue is, I'm writing the code to be generic. Given that, I'll only know the name of the containing <div>, not the actual RadMenu ID. Can this be accomplished, or am I barking up the wrong tree? Below is the code that I am currently attempting to use, but firebug shows an error of "$("[id$=" + target + "]").find('[id$="rmMenu"]').disable is not a function". The "target" is the string representing the div id before asp.net gets hold of it and prepends the id with the asp.net identifier string.
Thanks in advance...
$("[id$=" + target + "]").find('[id$="rmMenu"]').disable();