You need to sign in to do that
Don't have an account?
suneel rao
How to remove default None form the picklist field in custom vfpage
Hi eveyone,
I want to remove the default '--None--' value form the picklist field in my custom vfpage. I have used the script to remove none form the picklist filed.
But it's not removing for custom fields. Can any one help me over here.
regards,
Suneel.
I want to remove the default '--None--' value form the picklist field in my custom vfpage. I have used the script to remove none form the picklist filed.
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'> </script> <script language="javascript"> $(function() { $('select.RemoveNone option[value=]').remove(); $(".usstates").hide(); }); </script>
But it's not removing for custom fields. Can any one help me over here.
regards,
Suneel.
Marking best answers is good for all people.