Hello, in this video I will continue talking about JavaScript in ADF. The example which I will show you in this video is how you can open Baba in JavaScript. So here I will add one function in my JavaScript block here you can add multiple functions as you want. So I will add one more function here. Okay, just function simply it will get a component called B one which is a pop up ID and just simply will write show if you right height if you want to hide it. You can just make something to hide it simple, but instead of Babu Babu tight Okay, so let's add a pop up in the bitch in with IDB one.
And lettuce can pop up and you can add dialogue, man, just add in With thickest open from shell was good. Okay. So this is Bob has ID p one and here I get a component with P one and I just breeze show. So it does take one of the input tickets which here and say show pop up. And maybe we can display this pop up once as a user make a change in the value. So, in the value change here, value change, I need to call function code or been Bob.
So here once the value change call, open up So let's try to test this show Bob. So here once I enter anything, any value and get out, he will find here open from this pop up is cool. So here is the value change of ember tickets. You can easily call or when in a book. Sometimes if you want to have maybe output tickets and you want wanted a mouse over this output tickets to open up Bob, you can simply add for example, our tickets. Okay.
And you want once zemo was booted over this need to open up so I will use the same client listener, which I need open, Bob but of course it is no value change in our tickets. So I will just add mouse over. So this is our ticket once the mouse over it come over it, it will call open bobak function, JavaScript function and just JavaScript function will display a B one, Bob. So we just need to put the mouse here, straightaway you'll find Bob was a JavaScript is, wouldn't be open. Just if you don't know what is different between JavaScript or from the code in the back in JavaScript is running in the server in the client site. So it means I, the action didn't to go to the server site.
So even if you stop the application, if you stop the application, you can move the most here. But this is because of the robot itself has a listener which is map But actually is ababu obon. But the conditions this disconnect because the Bob has Bob feature listener, but it will open the bob up because it is a JavaScript function. So even the server is down here. The JavaScript function will be called. Okay.
So this is how you can use the JavaScript is a div as you can see here. The JavaScript is working however the server is doing because JavaScript is running inside the client site. So this is an example for how you can open the bob or shoes or Bob in their job using JavaScript. Nick is the video I will show you some secrets. So see you in exhibit