

Var objC3=document.getElementById('_ctl0_Image3') This function provides an opportunity to modify the Tween object to change the. Var objC2=document.getElementById('_ctl0_txtCustomer') A function to be called for each animated property of each animated element. Var objC1= document.getElementById('_ctl0_lblCustomer') Var objAN3=document.getElementById('_ctl0_Image2') Var objAN2=document.getElementById('_ctl0_txtAccountNumber') Var objAN1=document.getElementById('_ctl0_lblAN') Var obj = document.getElementById('_ctl0_lstProcess') objAN1,objAN2,objAN3 is not displayed back (object becomes null since the visibility was hidden due to previous selection and I guess it's not getting restored back). The optional callback parameter is a function to be executed after the hide() or show() method completes (you will learn more. ObjAN1,ObjAN2,ObjAN3 are hidden. Submit button is clicked and a datagrid is displayedģ. Submit button is clicked and a datagrid is displayed.Ģ. Here are few steps in the process and code.ġ. Initially the page is loaded with SelectedValue=1.

I tried using the sameĬode in code-behind under lstProcess_SelectedIndexChanged, still it's the same problem. I tried setting back the visibility to true in Page_Load, but still it didn't fix the problem. It works fine as long as there is no event click. In case you have dozens of icons on your desktop, then there is a good chance. But now I want to do this in client side.
FUNCTION SHOWHIDE CODE
I've done this successfully in code behind by autopostback.

Visibility part it shows error "Could not find display property, Invalid Argument". I can see that when I alert (SelectedValue) I get the lstProcess Selected Index, alert(objA) returns, but for the $("#navcontainer li a").I'm trying to write a JS function to show/hide div based on the dropdown list selection. You better make a javascript file and separate the JS from the HTML: You have to make it look like this: $("#dropdown1").toggle() What have I done wrong, or failed to take into account? Why is it doing that? The showHide() function is most certainly in the jquery-1-11.1.js file, which most certainly is in my js folder. Using the F12 web developers tools built into IE11 I learn that it giving an error of "showHide is undefined". However, when I run this from within the browser (IE11) nothing happens. As well you need to hide the answer before you can show it. Also I am wondering why you are using the animate function rather than just fadeOut/fadeIn. Here's the relevant HTML from within the body tag: Try ('.answer').hide () it does not work. Next I've defined an unordered list, using the styling above to make it horizontal, and I've got a hidden div after it, which I want to show when the user moves their mouse over the first anchor in the unordered list. I've downloaded a jQuery library and included a reference to it, so here's some of what I've got in my page's head section:

I've started with only one anchor tag, to get it working first before implementing the rest of them. I'm trying to put in a hidden div which I only want to show up when the user hovers their mouse over the Learner's anchor tag on the page. Perhaps it isn't even related to jQuery, but anyway, here's the scenario. Hi to all, i've a problem in a function, i must make an ajax call when i click on a button but before the ajax call i want to display a div that will disappear when the call is end. I'm really new at trying to use jQuery, so please forgive me for asking what is likely a simple question.
