open
Public

I know it is possible to call javascript function in ForeUI  but I need to do the reverse

Javascript function call ForeUI Custom Event

 

Imagine a Do_Login custom event in ForeUI

 

<foreui>

Do_Login()

</foreui>

 

Now javascript to call the ForeUI Do_Login Custom Event

<script>

function UpdateLogin() {

{FOREUI.parent(Do_Login);

}

 

</script>

 

???

Is that possible?

 

26 answers

Staff February 28, 2016

ForeUI is using JQuery’s event model, so calling the custom event is simply.

Say your custom event is a global event with name “Do_Login”, you just need to call this in your Javascript code:

$(document).trigger("Do_Login");
#1

Awesome! Learned alot thanks so much keep posting more.  https://painterseugeneoregon.com

#2

Well this is great site! Would definitely recommend this to my friends. Love the read  https://weldingtallahasseefl.com

#3

Thank you for this lovely article! bathroom shower remodel

#4

thanks for sharing keep posting more! baton rouge custom cabinets

#5

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Ashley

#6

Great site thanks admin. More power.  fence companies pensacola florida

 

#7

Great site thanks admin. More power.  st george painting companies

#8

Thank you for this lovely article!  bookkeeper boise

#9

thanks for sharing keep posting more  decking cleveland

#10

I love your content! Great job!

https://microbladingstlouismo.com

#11

I highly appreciate your work here! Thank you so much! https://microbladingtulsaok.com

#12

I wanna know more about this because this is really informative!

https://microbladingfortworthtx.com

#13

I love your content! Great job!

https://microbladingstlouismo.com

#14

I highly appreciate your work here! Thank you so much! 

https://microbladingtulsaok.com

#15

I wanna know more about this because this is really informative!

https://microbladingfortworthtx.com

#16

I love your content! Great job!

https://microbladingstlouismo.com

#17

I love your content! Great job!

https://microbladingstlouismo.com

#18

I highly appreciate your work here! Thank you so much!

https://microbladingtulsaok.com

#19

I wanna know more about this because this is really informative!

https://microbladingfortworthtx.com

#20

Hello, I have 8-9 plots in my workspace. How can I export all the plots in a single PDF? When I export I get a single plot in the pdf. Thanks. car window repair

#21

If you see the “Image” category but there is nothing inside, maybe you collapsed the category accidentally. If that is the case, you can click the small triangle on the left of the category name (“Image”) to expand it again.

 

concrete driveway contractor

#22

 There should be content under the “Image” category, so if there isn’t, it may be because you inadvertently collapsed it. If that’s the case, just expand the category once more by clicking the little triangle to the left of the category name (“Image”). geometry dash  

#23

We also offer competitive rates on all of our services, so you can be sure that you’re getting the best value for your money. truck oil change

#24

Evanston Towing Company    If you have a blowout or are simply due for a change, we can help.

#25

San Antonio On-Site Truck Repair   We’re available 24/7, so you never have to wait for help.

#26

Please login or Register to Submit Answer