<apex:page showheader="true" standardController="Merchandise__c">
<head>
<apex:includeScript value="{!$Resource.JqueryMin}" />
<script>
$j = jQuery.noConflict();
$j(document).ready(function() {
$j("#.hide").click(function(){
$j("#.inpi").fadeOut('slow');
});
$j("#.show").click(function(){
$j("p").show();
});
});
</script>
</head>
<body>
<apex:form >
<div id="inpi">
<apex:inputField value="{!Merchandise__c.PickList1__c}" />
</div>
<p>If you click on the "Hide" button, I will disappear.</p>
<button id="hide">Hide</button>
<button id="show">Show</button>
</apex:form>
</body>
</apex:page>
When I click on hide button, it hide that field for a movement and again it appears automatically.
I think the page is getting refreshed or something else
Please provide me the solution.
Hi Jetharam,
Please post this question in one of the developer forums for a quick response, this forum is more focussed towards the declarative side of things.
https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS
http://salesforce.stackexchange.com/