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?

 

20 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

Please login or Register to Submit Answer