How to hide Hyperlink in APex?
Hi All,
I have created a region with Hyperlink as shown below
1. Who:{a href="javascript:LeadhideOrShowFun()"> <font size="2" color="#FBB117"}Add another participant? </font></a>
2. The point one should be visible while creating a new form, but when we redirect to update process then i need to disable "anchor tag".
3. The process i am uisng for redrecting the screen using dialog box.
4. If we observe my below code i am redirecting to the same page using documnet.href concept.
5. So when they clik on "Enter" key button then it will be redirect to document.location.href='f?p=&APP_ID.:1:&SESSION.::&DEBUG.:1:P1_CHECK:N';
by clearing the session.
6. But when they click on "View" button i will be redirecting to the same page but having concepts what they selected already by uisng
document.location.href='f?p=&APP_ID.:1:&SESSION.';
7. During this peocess i need to hide anchor tag so that the screen is mainly used for update process? How to achieve this.
<script>
$(function() {
$( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-confirm" ).dialog({ autoOpen: false })
$( "#dialog-confirm" ).dialog({
resizable: false,
height:50,
modal: true,
buttons: {
"Enter Key to continue": function() {
$( this ).dialog( "close" );
document.location.href='f?p=&APP_ID.:1:&SESSION.::&DEBUG.:1:P1_CHECK:N';
//document.location.href='f?p=&APP_ID.:1:&SESSION.::NO:P1_CHECK:N';
//doSubmit('P6_SERACH');
},
View: function() {
$( this ).dialog( "close" );
document.location.href='f?p=&APP_ID.:1:&SESSION.';
}
}
});
});
</script>
<div class="demo">
<div id="dialog-confirm" title="Form &P1_DISPLAY_EID. has been successfully updated">
</div>
Thanks,
Anoo.