i want to hide component field during certain transition of issue .
i tried document.getElementBy("#component").hide() and jQuery("#component").hide()
both didnt work. any other alternative ?
Does AJS helps here ?
Rakshith, I am trying the same and i posted the same question yesterday but no luck, I was asked to use Behavior plugin instead of doing it through any scripting language. But i want it through a script. Lets see if anyone knows how to do it.
Cheers,
Jo
The selector is simple enough, AJS.$("#components").parent().hide()
But you may have to do it slightly differently for floating dialogs. The point of using a plugin is there are lots of corner cases with dealing with the different form elements, and perhaps you want to make things mandatory, set values etc, not just hide them, then why not reuse something else. But entirely up to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.