Browse blob file on button click

Hey Guys,

Some times user does no want to click on browse button, provided by oracle apex by default. By clicking on button browse image is better experience. How we can achieve this, let us see

Image 1

Here we have one browse file browse type item. By default we know if we click on item it gives file browse window.

Image 2

We can use button also to browse the image. we need to use a simple java script code that can help to achieve it. Create a dynamic action on click of the button.

Image 3

Image 4

Create an true action for this Dynamic action.

Image 5

  • Action
    • Execute javaScript code

    • paste the this code

      $("#P12_IMAGE").click();
      

Now try to click on button, you will get the file browse window. This is what we want.


comments powered by Disqus