Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to fetch table column value for navigate to another page in oracle apex?

user-fxkzhSep 11 2023

if i click any option from this dropdown it goes to that page. example if i choose modify means it goes modify page with that corresponding row value. i am using

<select name="Action" onchange="javascript:handleSelect(this)">
<option value="">--SELECT--</option>
<option value="">Authorized</option>
<option value="view-gm">View</option>
<option value="modify-gm">Modify</option>
<option value="delete-gm">Delete</option>
<!-- Add more options as needed -->
</select>
<script>
function handleSelect(elm)
{
if(elm.value != ""){
let url = document.URL;
var pathname = new URL(url).pathname;
let array =pathname.split("/");
var newUrl = url.replace(pathname.split('/')[5], elm.value);
console.log(newUrl);
window.open(newUrl);
}

}

</script> for that drop . how to fetch that row value also..

Comments
Post Details
Added on Sep 11 2023
1 comment
198 views