Page 1 of 1

My modal is executing my function automatically

Posted: Wed Oct 07, 2015 9:01 pm
by jmd2004

Any reason to why my modal would automatically execute a function when it is opened? The function is used to execute a web service when a button is clicked.

When i open the model the function executes before i can click on it and repeats until it crashes my browser.

Any thoughts?

Thanks!
James


My modal is executing my function automatically

Posted: Thu Oct 08, 2015 10:56 am
by Illya Stepanov

Hello -

Could you please show your code. Also please clarify modal or model executes your function?