Search found 3 matches

Go to advanced search

by arnaud charlier
Tue Sep 30, 2014 8:43 pm
Forum: Issues
Topic: call a javascript function in an event and use variables
Replies: 5
Views: 460
 
Jump to post

call a javascript function in an event and use variables

Hi Kat, That's fine, it works now, thank you for your help, you pointed me to the right direction ! I tried to move var Input1 = Appery("Input1"); on the JS page to see if I could re-use the variable, but by the looks of it, the answer is no. Which brings back to my second question: I woul...
by arnaud charlier
Tue Sep 30, 2014 9:13 am
Forum: Issues
Topic: call a javascript function in an event and use variables
Replies: 5
Views: 460
 
Jump to post

call a javascript function in an event and use variables

I use
var Input1 = Appery("Input1");
var Input2 = Appery("Input2");

if I do
alert(Input1.val());
the expected value pops up.

by arnaud charlier
Tue Sep 30, 2014 7:12 am
Forum: Issues
Topic: call a javascript function in an event and use variables
Replies: 5
Views: 460
 
Jump to post

call a javascript function in an event and use variables

Hi, first, sorry if it's a dumb question, but I'm not really a dev so please help even if it's stupid :) I created a function in a new JS file function getVal(Val1, Val2) { MyVal = Val1 * 360 / Val2 * 100; return MyVal; } I would like to call it from an event, but it doesn't seem to be working On Ke...

Go to advanced search