Hi I want to run a custom function during onchange event in my input text field..
My question is how do i specify / set the function to run in the onchange event ..
Appreciate your help
My question is how do i specify / set the function to run in the onchange event ..
Appreciate your help
Hi Razlie,
Just add the function name in the "Element identifier" box and define teh function in a JavaScript element
Best regards
Just add the function name in the "Element identifier" box and define teh function in a JavaScript element
Best regards
Hi Max,
I must be doing something wrong because I have tried to do this and it didn't work. I tried the function name with and without brackets "()" and neither worked.
My JS code is in a custom JS code in the designer tab but I have also tried it with the script on a custom code action in the setup tab.
Thank you for your time.
Best regards,
Joao Serina
I must be doing something wrong because I have tried to do this and it didn't work. I tried the function name with and without brackets "()" and neither worked.
My JS code is in a custom JS code in the designer tab but I have also tried it with the script on a custom code action in the setup tab.
Thank you for your time.
Best regards,
Joao Serina
Hi Joao,
The function name should be in the "Element identifier" box without brackets and the function should be defined in a JavaScript element:
Best regards
The function name should be in the "Element identifier" box without brackets and the function should be defined in a JavaScript element:
function xyz(){
alert(123);
}This does not work ?
Best regards
Sorry for the late reply,
I didn't test it yet but I was calling a function that was encapsulated in a jQuery call like:
Thank you very much for you quick reply and once again I appologuise for the delayed reply.
I didn't test it yet but I was calling a function that was encapsulated in a jQuery call like:
(function($)So this was probably the problem.
{
$(document).ready(function () {
});
function MyFunction()
{
alert("test");
}
})(jQuery);
Thank you very much for you quick reply and once again I appologuise for the delayed reply.
Hi Joao,
No problems!🙂
Best regards
No problems!🙂
Best regards
This topic is locked and no more replies can be posted.
